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

电子商务中的MVC设计模式应用
引用本文:陈敏仪. 电子商务中的MVC设计模式应用[J]. 现代计算机, 2004, 0(7): 64-66,89
作者姓名:陈敏仪
作者单位:番禺富加电脑公司 番禺511400
摘    要:MVC模式是指把一个应用的输入、处理、输出流程按照Model、View、Controller的方式进行分离.将MVC设计模式运用于Web应用,使得数据处理逻辑与它的表现形式分离,编写好业务逻辑以后,可以由控制器根据不同的显示要求应用不同的视图构造页面,使之可以满足不同的格式要求及不同类型客户端输出.因此,MVC模式在电子商务中有极大的应用价值.本文将分析MVC模式的组成和形系结构,并通过一个Web应用例子体现了MVC模式的实现.

关 键 词:设计模式  电子商务

Implement of MVC Design Pattern in Web Application
CHEN Min-yi. Implement of MVC Design Pattern in Web Application[J]. Modem Computer, 2004, 0(7): 64-66,89
Authors:CHEN Min-yi
Abstract:MVC(Model-View-Controller)architectural software design pattern is an approach, which decouple a application's input, process , output as Model, View, Controller architectural. The design approach, which apply MVC design pattern into the Web application development, decouples the business logic and its presentation, allows Web application developer designs business logic and views individual. At the run time, controller can invoke different view for different output devices , such as browser, palm, mobile etc, or different user's locale, but use same business logic. In a word, it is very useful to apply MVC architectural software design pattern into Web application development, for this purpose this article will analysis the architecture, and the composition of MVC design pattern, and reflect the implement of MVC by Web application example.
Keywords:MVC
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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