摘要
为了改善传统开发方式和应用RIA(Rich Internet Application,富互联网应用程序)开发技术,文中应用了一种新的设计模式-MVVM,提出了一套基于MVVM模式的系统开发方案。介绍了MVVM模式设计思想,阐述了系统的设计,以实际流程为例,在Silverlight开发环境下给出了具体的实现以及代码比对分析。实践表明,将该模式应用于系统开发,可以成功地将数据、表示和业务逻辑分离,有效地改善系统开发,使系统具有结构清晰、可拓展、易测试的特点。
In order to improve the way of traditional development and apply the RIA development technologies, a new design pattern, MV- VM,is used, a development plan based on it is presented. Introduce the design idea of this pattern, and then give an implementation in Sil- verlight and comparative analysis of the code by using an actual process as example. Practice shows that by using this pattern in the sys- tem development, the data, display and logical transaction can be successfully divided, system can be improved effectively, and has the characteristics of clear structure, stability and ease to be tested.
出处
《计算机技术与发展》
2013年第12期203-207,共5页
Computer Technology and Development
基金
安徽省农林科研项目(06090736)
安徽省大学研究生学术创新项目(yqh100135)