首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于JavaME的手机程序架构设计
引用本文:叶文来. 一种基于JavaME的手机程序架构设计[J]. 厦门水产学院学报, 2009, 0(2): 209-212
作者姓名:叶文来
作者单位:集美大学计算机工程学院,福建厦门361021
摘    要:设计了一种基于ModelViewController(MVC)模式的手机应用程序新架构,试图解决代码繁杂、维护不方便等问题.架构以一个控制器为中心,协调视图和模型.控制器控市l上各个界面的切换,响应界面传导过来的用户事件.当业务模型的状态改变时,通过控制器将变化传递到界面.在手机程序开发中,遵循切换由控制器负责、通用业务模型与专用业务模型分离的原则实施.给出了该架构的具体实现,并分析了这种架构的优缺点.

关 键 词:MVC  Java  ME  手机程序架构设计

A Design of Mobile Phone Software Architecture Based on Java ME
YE Wen-lai. A Design of Mobile Phone Software Architecture Based on Java ME[J]. , 2009, 0(2): 209-212
Authors:YE Wen-lai
Affiliation:YE Wen-lai (School of Computer Engineering, Jimei University, Xiamen 361021, China)
Abstract:This paper developed a general mobile phone application architecture based on the Model View Controller (MVC) software design pattern, attempting to solve such problems as complexity of code structure and inconvenience of maintenance. The architecture took as the center a controller, which coordinated view and model. The controller was responsible for all interface switching and handled the events from interfaces. The changes were delivered to the interfaces through the controller when the states of business model changed. The principles of controller-switching and generic model and business model separating were followed in the process of program developing. Some examples for the implementation of this architecture were given, and both its advantages and disadvantages were analyzed.
Keywords:MVC  Java ME  mobile phone software architecture design
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号