用户名: 密码: 验证码:
基于ZK的MVVM与MVP设计模式应用研究
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Application of MVVM design pattern and MVP design pattern based on ZK
  • 作者:林亚明
  • 英文作者:LIN Ya-ming(Department of Computer Science,Minjiang University,Fuzhou Fujian 350108,China)
  • 关键词:ZK ; RIA ; 设计模式 ; MVVM ; MVP
  • 英文关键词:ZK;RIA;design pattern;MVVM;MVP
  • 中文刊名:YXXY
  • 英文刊名:Journal of Chongqing University of Arts and Sciences(Natural Science Edition)
  • 机构:闽江学院计算机科学系;
  • 出版日期:2012-12-10
  • 出版单位:重庆文理学院学报(自然科学版)
  • 年:2012
  • 期:v.31;No.121
  • 语种:中文;
  • 页:YXXY201206019
  • 页数:4
  • CN:06
  • ISSN:50-1183/N
  • 分类号:73-75+79
摘要
简要介绍基于ZK框架的RIA系统架构,讨论MVVM设计模式和MVP设计模式在ZK框架中实现的技术特点和应用场合,综合两种设计模式的优点提出了复杂业务系统界面开发的最佳实践,并通过实例给予论证.实例表明,该最佳实践能够应付复杂的界面开发需求,同时保持代码的结构简洁,从而提高系统的维护性.
        The ZK-based RIA architecture was briefly described.The technical features and applications about MVVM design pattern and MVP design pattern used in ZK were discussed.The best practices about the complex business systems interface development were proposed with the advantages of the integrated two design patterns,which is given to demonstrate by examples.The examples show that the best practices in maximizing the use of the MVVM design pattern are able to cope with the complexity of the interface development needs,thereby improving the maintainability of the system.
引文
[1]Henri Chen,Robbie Cheng.ZK框架——Ajax开发实战[M].蔡毅,译,北京:电子工业出版社,2009.
    [2]Henri Chen.Hello ZK MVVM[EB/OL].(2011-10-17)[2012-05-20].http://books.zkoss.org/wiki/Small%20Talks/2011/November/Hello%20ZK%20MVVM.
    [3]Hawk Chen.MVVM in ZK6:in Contrast to MVC[EB/OL].(2011-12-16)[2012-05-20].http://books.zkoss.org/wiki/Small_Talks/2011/December/MVVM_in_ZK6:in_Contrast_to_MVC.
    [4]Wikipedia.Model–view–presenter[EB/OL].(2011-08-21)[2012-10-26].http://en.wikipe-dia.org/wiki/Model–view–presenter.
    [5]程国雄,胡世清.基于Silverlight的RIA系统架构与设计模式研究[J].计算机工程与设计,2010,31(8):1706-1713.
    [6]黎永良,崔杜武.MVC设计模式的改进与应用[J].计算机工程,2005,31(9):96-97.
    [7]许鑫,费翔林.基于MVC模式的应用软件开发框架研究[J].计算机工程与应用,2005,30:102-104.
    [8]ZK partners.ZK Mobile[EB/OL](2011-04-18)[2012-10-26].http://www.zkoss.org/product/zk-mobile.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700