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

基于MVC模式的Web应用开发研究
引用本文:刘坤彪,陈铭.基于MVC模式的Web应用开发研究[J].浙江交通职业技术学院学报,2013(1):34-40.
作者姓名:刘坤彪  陈铭
作者单位:武汉城市职业学院;湖北工业大学;宝鸡钢管克拉玛依有限公司
摘    要:本文分析了MVC架构模式的特点和优势。以用户注册登录和数据搜索引擎组件的设计为实例,从数据表现的视图层、封装业务数据和业务逻辑的模型层以及处理业务逻辑并选择视图的控制层的角度,全面、深刻地阐述了MVC模式在JSP数据库应用系统开发中的具体实现。采用MVC模式设计Web程序,可以将页面的显示、业务逻辑处理和流程控制很清晰地分离。JSP负责数据显示,JavaBean负责承载数据和处理业务逻辑,Servlet负责流程的控制。MVC模式充分体现了面向对象程序设计特有的“分层架构、组件复用、松耦合”的编程思想,完全满足大型Web应用开发的技术需求。

关 键 词:MVC  模型  视图  控制器

Research on the Development of Web Application Based on MVC
LIU Kun-biao,CHEN Ming.Research on the Development of Web Application Based on MVC[J].Journal of Zhejiang Vocational and Technical Institute of Transportation,2013(1):34-40.
Authors:LIU Kun-biao  CHEN Ming
Institution:1.Wuhan City Vocational College,Wuhan 430064,China;2.Hubei University of Technology,Wuhan 430068,China;3.Karamay Baoji Steel Tube co.,LTD,Karamay 834000,China)
Abstract:This paper analyzes the MVC structure Model of characteristics and advantages, to user registration login and data search engine components and design as the instance, from the data of the performance of the View layer, packaging business data and business logic Model layer and processing business logic and select View control layer the Angle, comprehensive, deeply sets forth the MVC pattern in JSP database application system development of the specific realiza- tion. MVC pattern design Web program, can will page display, business logic processing and process control very clearly separated, JSP is responsible for the data display, JavaBean is responsible for carrying data and processing business log- ic, Servlet responsible for process control. MVC mode embodies the object - oriented program design characteristic of "stratified structure, component reuse, loose coupling" programming ideas, fully meet the large Web application development technical requirements.
Keywords:MVC  model  view  controller
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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