首页 | 官方网站   微博 | 高级检索  
     

MVC模式中控制层的实现
引用本文:宋玮.MVC模式中控制层的实现[J].数字社区&智能家居,2005(24).
作者姓名:宋玮
作者单位:广东工业大学计算机学院 广东广州510090
摘    要:复杂的WEB应用程序要求采用模型-视图-控制器(MVC)设计模式的思想,MVC将应用设计分为多层,减弱了业务逻辑接口和数据接口之间的耦合。本文给出了MVC在J2EE框架下的实现,重点提出了在实际工程当中采用两层控制器的具体实现方式。实践证明对于包含了大量关系复杂视图的应用,两层控制器的实现方式效果是很理想的。

关 键 词:MVC  控制器  WEB应用  模式

Implementation of Controller- layer in MVC Pattern
SONG Wei.Implementation of Controller- layer in MVC Pattern[J].Digital Community & Smart Home,2005(24).
Authors:SONG Wei
Abstract:Complicated WEB applications ask of the idea of model- view- controller(MVC) design pattern which divides the application into multiplayer and lowers the coupling between logical interface and data interface. This article presents the implementation under J2EE architecture, and especially focuses on the Controller- layer which is implemented by using two layers in practical project. It is proved that the way of using two layers is perfect in the application which involves many complicated- relation views.
Keywords:MVC  Controller- layer  web application  pattern
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号