Return to search

應用模型驅動架構於多平台導引精靈程式開發 / Apply Model-Driven Architecture to the Development of Multi-Platform Wizards

導引精靈(wizard)是一種用來收集用戶端資料的互動式使用者介面應用程式,常被廣泛的使用在軟體系統裡,也是大多數應用程式常見的功能之一。導引精靈的使用不僅簡化了複雜的資料收集過程,也可以避免資料的遺漏以確保收集資料的完整性;此外在資料收集的過程中導引精靈所提供的適當提示與即時資料驗證,還可以提高資料收集的正確性,所以導引精靈對於應用程式的資料收集是相當有用的。

本研究的目標是開發一個模型驅動的導引精靈開發系統,希望能在相同或不相同的時間裡快速建構多平台導引精靈程式。我們提出的系統稱為MoDWiz,它實現了應用「模型驅動架構(MDA)」於多平台導引精靈開發的所有工具支援。為了讓使用者建構自己的(平台無關)導引精靈模型,MoDWiz不僅提供了用以規範導引精靈的超模型,還制定一個特定領域語言WDL以作為此超模型的具體語法。此外,由於WDL的制定,我們得以提供專屬的編輯器以輔助使用者進行導引精靈模型的編輯。目前MoDWiz支援三種執行平台的導引精靈開發,分別為網頁應用程式、Eclipse與Java。而根據MDA理論,我們必須制定的三種平台超模型均已內含於MoDWiz。除此之外,MoDWiz的工具鏈還包括用來將平台無關導引精靈模型轉換成符合每一個特定平台導引精靈模型的M2M工具,以及將每一個特定平台導引精靈模型轉換成相對應實作的M2T工具。所有MoDWiz的工具與WDL編輯器程式均實作為Eclipse 外掛程式,因此能夠與Eclipse平台高度整合。當利用WDL編輯器完成導引精靈模型的製作之後,使用者只需透過簡單的滑鼠點擊就可以完成導引精靈程式的實作。 / A wizard is an interactive user interface program used to collect data from the user. It is widely used in software systems and is a common part of most applications. Not only does the use of wizards modularize and simplify complex data collection process, but it can also avoid data missing and ensure data integrity. Furthermore, during the process of data collection, since a wizard can provide tips and instant data validation it can also improve the correctness of collected data. As a conclusion, it is very beneficial to use wizards in an application.

The goal of this research is the development of a model-driven wizard generation system (MoDWiz) that can be used to help rapid construction of multi-platform wizards to be developed at different or the same time. MoDWiz is our solution to the problem of applying OMG's model-driven architecture (MDA) to the development of multi-platform wizards. In order for the user to construct his (platform independent) wizard model, MoDWiz provides not only a wizard metamodel but also a domain specific language (DSL) called WDL as a concrete syntax of the metamodel. Owing to the availability of WDL, we are able to provide also a friendly editor to help the user to edit his wizard models. MoDWiz supports at present three platforms: eclipse platform, web application platform and plain Java platform. Accordingly metamodels of wizards for these platforms have to be defined and indeed have been provided in MoDWiz. Apart from these, MoDWiz's tool chain includes also M2M tools, which could transform every platform independent wizard model into a corresponding PSM model for each platform, as well as M2T tools, which could transform every platform specific wizard model into a corresponding implementation. All of MoDWiz's tools and wizard editor are implemented as eclipse plug-ins and thus are highly integrated with eclipse. As a result it is very easy to get a wizard implementation by simple mouse clicks once its model has been constructed using MoDWiz.

Identiferoai:union.ndltd.org:CHENGCHI/G0097753016
Creators郭建宏, Kuo, Chien Hung
Publisher國立政治大學
Source SetsNational Chengchi University Libraries
Language中文
Detected LanguageEnglish
Typetext
RightsCopyright © nccu library on behalf of the copyright holders

Page generated in 0.0015 seconds