Original title:
Modelem řízená realizace prezentační vrstvy softwarových aplikací
Authors:
Kryštof, Jan Document type: Doctoral theses
Year:
2010
Language:
cze Abstract:
[cze][eng] V nedávné době byla navržena řada způsobů, kterými lze modelovat uživatelská rozhraní a související přidružené aspekty interakce. Modelové artefakty pak lze v některých případech použít i pro následný vývoj, takže jsou využitelné nejenom ve fázi návrhové, ale i ve fázi implementační. Vytvářené modely jsou zaznamenávány v grafické nebo textové notaci, čímž jsou do jisté míry předurčeny i další možnosti jejich využití. Jedním z kritérií pro posouzení vhodnosti modelovací notace je interoperabilita, která je u většiny používaných notací spíše nízká. Optimální stupeň interoperability je dosahován v přístupech, v nichž je notace založena na grafickém jazyku UML. Tyto přístupy ale nedosahují dobré použitelnosti pro implementační fázi, ve které jsou vhodnější přístupy založené na některé textové notaci. Tato práce se zabývá současnými notacemi pro modelování a vývoj uživatelských rozhraní a soustřeďuje se především na vytvoření postupu, který umožňuje využítí grafické notace UML pro vytvoření modelů, které budou užitečné nejenom pro návrh, ale i pro jeho implementaci. Jádro práce spočívá v návrhu interakčního modelu, jehož možnosti dosahují úrovně běžných textových notací, a který lze využít v úlohách generování zdrojového kódu. Interakční model je realizován jako provázaný prezentační model a model úloh a akcí. Charakter prezentačního modelu umožňuje generovat obsahovou hierarchii komponent uživatelského rozhraní a model úloh a akcí lze využít k získávání XML deskriptoru určeného pro dynamické řízení obslužných akcí. Práce se dále, v návaznosti na interakční model, zabývá konstrukcí MB-UIDE prostředí, které je realizováno jako nástavba nad adaptivním UML modelovacím nástrojem. Tento způsob získání MB-UIDE prostředí představuje snadno dostupnou možnost, jak interakční modely zpracovávat a zároveň zachovat prostor pro jejich integraci s modely aplikační a datové vrstvy, aniž by bylo nutné začít používat další software.In recent years, several approaches dealing with modeling of user interfaces and related interaction have been proposed. These model artifacts can, in some cases, be used for further development and therefore they can be utilized in both design and implementation phases. Model data are recorded in a graphical or text representation which also determines possibilities of a consequent utilization. Several criteria can be used to judge model notations suitability. Focusing on the criteria of interoperability can highlight that most approaches do not reach satisfactory level. The optimal level is reached by the approaches based on graphical notation of UML. However, the usability of those models is rather low in the implementation phase, where text based notations are more appropriate. This thesis deals with the contemporary notations for modeling graphical user interfaces in software applications and introduces a new approach which employs the UML in order to create models. These models are appropriate for both the design and implementation phases. The center core of this work deals with a proposal of an interaction model, which can be used as an alternative to current approaches based on text notation and can be utilized for tasks of code generation for an arbitrary presentation framework. The interaction model consists of a presentation model and a task action model. The presentation model can be used for generation of containment hierarchy and layout of user interface components, while the task action model enables to generate XML compliant descriptor for dynamic flow control. This work also deals with a construction of MB-UIDE, which is realized as an extension of an adaptive UML compliant modeling tool. This way of obtaining the MB-UIDE represents an easy and cheap way how to manage the interaction model and support its integration with models of another layers in software architecture.
Keywords:
adaptivní modelovací nástroj; grafická uživatelská rozhraní; interakční model; MDA; model úloh a akci; modelování; obsahová hierachie; prezentační model; UML