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

论MVC模式改进Model 2x模型
引用本文:王鑫,孙小平,谭畅.论MVC模式改进Model 2x模型[J].控制工程,2005,12(5):480-482.
作者姓名:王鑫  孙小平  谭畅
作者单位:沈阳航空工业学院,计算机学院,辽宁,沈阳,110034;沈阳航空工业学院院办,辽宁,沈阳,110034;沈阳中科院计算所,辽宁,沈阳,110034
摘    要:研究了MVC(模块、视图、控制)模式的改进结构,该模式可以使业务逻辑与现实逻辑相分离,增强可维护性。以Java语言为基础探讨了使用Struts和XSLT相结合实现MVC,架构出具有良好的扩展性和伸缩性的基于Web的系统。介绍了Modell模型和Model2模型以及每个模型的优缺点,由此论述MVC模式所衍生出来的Model 2x模型。实际应用表明该方法有助于提高代码的可重用性和灵活性,通过将问题划分为更小的组件,当技术空间或问题空间中出现变化时会有更多的机会重用代码,在实际项目应用中效果良好。

关 键 词:MVC模式  Model  2x模型  Java和xml开发语言  Web系统
文章编号:1671-7848(2005)05-0480-03
修稿时间:2004年9月16日

Improved Model 2x Model Based on MVC Mode
WANG Xin,SUN Xiao-ping,TAN Chang.Improved Model 2x Model Based on MVC Mode[J].Control Engineering of China,2005,12(5):480-482.
Authors:WANG Xin  SUN Xiao-ping  TAN Chang
Affiliation:WANG Xin 1,SUN Xiao-ping 2,TAN Chang 3
Abstract:Some constructions of MVC(module,view and control)modes are introduced.The incarnation of the Struts with xslt in MVC is duscussed.It also mentions the advantages and disadvantages of Model 1 and Model 2.And the development of the expansible and retractile system is explained particularly based on the Web,using Java and xml language.It is useful for improving the re-using function and flexible performance of the codes.When same changes happen in the technical and problem space,through separating the question into the smaller parts,more and more chances will be had to re-use the codes.
Keywords:MVC mode  Model 2x  programming language of Java and xml  Web system  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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