首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于MVC的主辅控制器设计与实现
引用本文:肖捷,肖正新,袁华强.一种基于MVC的主辅控制器设计与实现[J].计算机与现代化,2005(11):108-111.
作者姓名:肖捷  肖正新  袁华强
作者单位:东莞理工学院软件学院,广东,东莞,523106;东北大学网络中心,辽宁,沈阳,110004
摘    要:针对当前多层Web体系结构的设计中存在的一些问题,本文基于MVC设计模式,对MVC的控制器做进一步的研究和设计.首先分析比较了单一控制器和多控制器两种常用的控制器设计方法,接着基于多控制器设计方法提出了一种主辅控制器设计方案,并综合使用Servlet+JavaBean技术加以具体实现.可以发现,这种控制器设计方案具有较好的可维护性、可扩充性和作为一个应用框架的可伸缩性.

关 键 词:MVC  控制器  主控制器  辅控制器
文章编号:1006-2475(2005)11-0108-04
收稿时间:2004-12-31
修稿时间:2004年12月31

Design and Realization of a Main Assistant Controller Based on MVC
XIAO Jie,XIAO Zheng-xin,YUAN Hua-qiang.Design and Realization of a Main Assistant Controller Based on MVC[J].Computer and Modernization,2005(11):108-111.
Authors:XIAO Jie  XIAO Zheng-xin  YUAN Hua-qiang
Affiliation:1.Software School of Dongsuan University of Technology, Dongguan 523106,China; 2.Network Center of Northeastern University, Liaoning 110004, China
Abstract:Aiming at the problems in the current design of multi-tier Web architecture,this paper makes further research and design on the MVC controller based on MVC design pattern.It first compares and analyzes the common designing ways of single-controller and multi-controller.Then it puts forward a new main assistant controller design project based on multi-controller designing way,and achieves detailed realization by comprehensively using the technology of Servlet+JavaBean.This controller has a sound ability to maintain and extend as an application frame.
Keywords:MVC  controller  main controller  assistant controller
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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