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

MVC设计模式在B/S开发中的研究与应用
引用本文:涂婷婷 段凡丁. MVC设计模式在B/S开发中的研究与应用[J]. 微机发展, 2007, 17(6): 235-238
作者姓名:涂婷婷 段凡丁
作者单位:西南交通大学信息科学与技术学院 四川成都610031(涂婷婷),西南交通大学信息网络中心 四川成都610031(段凡丁)
摘    要:随着网络技术的发展,基于B/S的Web体系结构逐渐成为系统应用的主流。然而开发这样的应用普遍存在着程序可重用程度低、维护工作繁琐、应变能力较弱等问题。因此,采用何种设计模式进行高效开发,是当前B/S发展的热点之一。在简要介绍MVC设计模式的同时,通过一个系统设计实例讲述了该设计模式的实现方法,最后将系统控制器——基于白盒设计的Action组件进化成基于黑盒设计的通用Action组件,以达到更好的开发效果。

关 键 词:MVC  设计模式  浏览器/服务器  Struts  EJB
文章编号:1673-629(2007)06-0235-04
修稿时间:2006-08-26

Application and Research of MVC Design Pattern in B/S Development
TU Ting-ting,DUAN Fan-ding. Application and Research of MVC Design Pattern in B/S Development[J]. Microcomputer Development, 2007, 17(6): 235-238
Authors:TU Ting-ting  DUAN Fan-ding
Affiliation:TU Ting-ting1,DUAN Fan-ding2
Abstract:With the development of network technology,the Web structure based on B/S becomes the mainstream of the system application.But it has ubiquitous defects that reusable of application is low,the maintenance work is heavy and the adaptability of software is weak.So which design pattern is chosen,is one of the focuses of present B/S development.This paper introduces MVC design pattern in brief and illustrates how to implement the design pattern in a system design example.Finally,it ameliorates the system controller-the action discreteness which is based on white box to all-purpose action discreteness which is based on black box for getting better development effect.
Keywords:MVC  design pattern  B/S  Struts  EJB
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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