首页    期刊浏览 2024年07月01日 星期一
登录注册

文章基本信息

  • 标题:Developing Software Using A Novel Event-Condition-State Pattern Framework: Taking Mobile Input Method System As A Case Study
  • 本地全文:下载
  • 作者:Zhu, Fei ; Diao, Hongjun ; Huang, Wei
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2011
  • 卷号:6
  • 期号:8
  • 页码:1506-1512
  • DOI:10.4304/jsw.6.8.1506-1512
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:Design patterns add more reliability, flexibility and reusability to a software system. Taking advantage of design patterns is usually beneficial to software design and makes software development relatively easier. The state pattern proposed by GoF is not a determined design and can hardly be transformed into implementation code directly. It is disable to cope with sophisticated response event either. Hereby we propose a novel event-condition-state pattern framework, an event-based finite state machine. The framework improves GoF state pattern by re-segmenting Context into two classes, one for management and the other for operation interface. Essential components for implementation, such as management, state transferring, and event triggering mechanism, are also taken into consideration in the framework. We use pattern framework to develop a thirty party input method system which has a Windows Mobile system version and a Symbian system version separately. We rewrote Context part related with system interfaces in the two different systems, and encapsulated the part related with internal logic of input method by concrete subclasses, thus avoiding redundant developing work in both systems and providing convenience for later synchronous updating and maintenance of two input methods. With the pattern framework, much effort during software development is saved. The development logic seems simpler and clearer. As a result, the whole development process is simplified.
  • 关键词:software architecture;design pattern;event condition state;mobile developing;input method
国家哲学社会科学文献中心版权所有