導引精靈(Wizard)是一種廣泛見於現有軟體系統,負責與用戶互動以蒐集資料的程式。其益處是能有效規範資料蒐集過程,並確保資料之完整性與正確性。導引精靈具備了上述種種優點,惟程式開發過程繁複、跨入門檻較高。因此若能快速產生導引精靈,將能提升開發者採用導引精靈意願並降低開發成本。
本研究室早先即遵循模型驅動架構概念,提出一套導引精靈生成系MoDWiz,可迅速在多平台上生成具相同功能的導引精靈。然而MoDWiz尚未實現資料驗證功能,並且只支援簡單的循序式導引精靈,因此應用範圍明顯不足。為了彌補MoDWiz的不足,本研究擴充MoDWiz而成為MoDWiz II系統。除了擴充MoDWiz原有的描述語言WDL之外,MoDWiz II還支援輸入文字資料之驗證功能,可經由開發者提供的正規表達式驗證輸入資料,確保其正確性。此外MoDWiz II也引入了更具實用性的條件式導引精靈結構,使得導引精靈可以根據使用者輸入的資料導引到不同的頁面繼續進行資料蒐集。MoDWiz II目前已經可以在Java與Eclipse執行平台上產生導引精靈,其效用將更勝於原有之MoDWiz。 / A software wizard is an interactive interface program used to collect data from the end user. It is widely used in software systems and forms a common part of most applications. Not only does the wizard modularize and simplify the complex data collection process, but it can also avoid data missing and ensure data integrity. It thus would be very profitable to use wizards in an application. However, the process of implementing a wizard from scratch is tedious and complicated, not to mention building same wizards on multiple platforms. Accordingly, if there is a tool to help rapidly construct wizards on multiple platforms, the developers would be encouraged to use wizards in their applications and at the same time the cost of their applications reduced.
Before the inception of this thesis our laboratory had applied the MDA concept to the development of a wizard generating system called MoDWiz. MoDWiz enables the developer to quickly generate a wizard on multiple platforms by a simple declarative description of the target wizard. However, MoDWiz is still rather limited in that it leaves out the key component of data validation, and, more severely, it supports only sequential wizard structure, and hence cannot be used to generate most practical wizards in which nonlinearity is essential. In this thesis we extend MoDWiz to a new one called MoDWiz II. In addition to adapting the description language WDL on MoDWiz, MoDWiz II now support data validation by allowing the developers to provide input data format with regular expressions. Moreover, the most significant achievement of MoDWiz II is its ability to define branch wizards which allow different wizard pages to follow a given page depending on user input during the data collection process. MoDWiz II currently supports Java and Eclipse platforms and its application scope is apparently wider than the original MoDWiz.
Identifer | oai:union.ndltd.org:CHENGCHI/G0095753021 |
Creators | 曾仲瑋, Tseng, Chung Wei |
Publisher | 國立政治大學 |
Source Sets | National Chengchi University Libraries |
Language | 中文 |
Detected Language | English |
Type | text |
Rights | Copyright © nccu library on behalf of the copyright holders |
Page generated in 0.0021 seconds