计算机与现代化 ›› 2013, Vol. 1 ›› Issue (5): 186-191.doi: 10.3969/j.issn.1006-2475.2013.05.044

• 应用与开发 • 上一篇    下一篇

基于混合模式构建前端表现层框架

雷明   

  1. 河海大学商学院,江苏南京211100
  • 收稿日期:2013-01-30 修回日期:1900-01-01 出版日期:2013-05-28 发布日期:2013-05-28

Construction of Front-end Presentation Layer Framework Based on Mixed-model

LEI Ming   

  1. School of Business, Hohai University, Nanjing 211100, China
  • Received:2013-01-30 Revised:1900-01-01 Online:2013-05-28 Published:2013-05-28

摘要: 前端开发环境中,合理地使用设计模式能够优化应用的开发方式,提高Web应用的开发效率。针对当前服务自动化程度低下、准确性低的现状,提出一种基于混合模式的表现层框架。该框架引用多种设计模式用于解决复合构件的分离协同建模设计,构件与模块间消息的有效传递以及业务逻辑处理模型的封装构造等问题。实例表明该框架具有开发成本低、易于维护、重用性高的特点。研究结果为进一步完善表现层架构设计提供了设计思路和实现方法。

关键词: 框架, 设计模式, 表现层

Abstract: In the environment of front-end development, using design pattern reasonably can optimize the application development method, and improve the efficiency of Web application development. For a low degree of automation and accuracy of service discovery in the current situation, this paper proposes a mixed-model presentation layer architecture which integrates several classic design models into an improved pattern to separate the presentation model the composite member from view layer, transfer of the message among composite components and modules effectively, and encapsulate business logic processing models. The results illustrate that based on this architecture it can easily code and manage the presentation project. Once more, it provides another design idea and implementation to develop the architecture in application.

Key words: architecture, design model, presentation layer

中图分类号: