• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2015, Vol. 37 ›› Issue (09): 1688-1691.

• 论文 • 上一篇    下一篇

改进的MVC设计模式的研究与应用

刘红霞,陆文迪   

  1. (南京工业大学计算机科学与技术学院,江苏 南京 211816)
  • 收稿日期:2014-11-17 修回日期:2015-01-27 出版日期:2015-09-25 发布日期:2015-09-25

Research and implementation of
an improved MVC design pattern  

LIU Hongxia,LU Wendi   

  1. (College of Computer Science and Technology,Nanjing Tech University,Nanjing 211816,China)
  • Received:2014-11-17 Revised:2015-01-27 Online:2015-09-25 Published:2015-09-25

摘要:

分析了.NET平台下传统MVC设计模式存在的数据处理能力低、代码复用率低等缺陷,结合中间件和页面局部刷新技术,提出了一种改进的MVC设计模式。并根据改进的MVC设计模式,设计了钢铁企业质量异议换货系统。系统运行表明,改进的MVC设计模式的使用,有效增强了系统的鲁棒性,平衡了层间耦合性,并提高了代码的复用率和系统开发效率。

关键词: MVC, 中间件, 异步刷新, 质量异议换货

Abstract:

The traditional MVC design pattern on .NET platform has defects of defects of  low data processing capability and low code reuse. Using the middleware and asynchronous refresh techniques, we propose an improved MVC design pattern. Based on the improved MVC, we design a quality objection replacement system for iron and steel enterprises. System operation indicates the improved MVC effectively enhances the robustness of the system, balances the coupling between layers and increases the code reuse rate and the efficiency of system development.

Key words: MVC;middleware;asynchronous refresh;quality objection replacement