节点文献

MVC设计模式在Web中的复用研究与实现

Reuse Research and a Realization of MVC Design Pattern in Web

【作者】 李俊峰

【导师】 徐正权;

【作者基本信息】 华中科技大学 , 计算机软件与理论, 2004, 硕士

【摘要】 基于MVC的Web服务器端软件框架能够有效的提高Web应用程序的可复用性。XMLMVC软件框架是基于软件框架技术、XML语言而提出的一个对传统MVC设计模式的Web软件框架的改进方案。有别于Struts等传统MVC软件框架,XMLMVC软件框架使用了XML实现MVC中的模型,XML语言是一种数据描述语言的标准,其设计目标决定了XML具有内容和形式的分离,良好的扩展性、跨平台性和自描述性,用户可以随意定义自己的数据格式,这使得XMLMVC软件框架具有更大的灵活性以及更强的通用性。通过研究Web服务器端的交互特点,给出了MVC设计模式在Web服务器端的架构,这个架构是在Web服务器端实现MVC设计模式的基础。在这个架构之下,具体分析了XMLMVC软件框架的设计与实现,给出了MVC设计模式每一部分在这样一个软件框架中实现的要点和技术细节,从而在实际上实现了一个基于XML的MVC软件框架。XMLMVC软件框架通过一组相互关联和协作的类和接口来实现MVC设计模式。给出了一个基于XMLMVC软件框架的Web应用程序,验证了XMLMVC软件框架的可用性和对软件复用的初步支持。在基于XMLMVC软件框架的开发过程中,开发人员只需要将精力集中于应用程序事务逻辑上的设计,这种复用首先体现为对应用程序骨结构的复用,开发人员只需要正确配置其应用程序的事务逻辑的映射即可。其次XMLMVC可以看成是基于构件的Web应用程序的一个生成平台,在XMLMVC软件框架中,Web应用可以通过这个软件框架生成。

【Abstract】 MVC design pattern based Web server-side software frameworks can improve the reuse of web application effectively. XMLMVC software software is a software which base the technology of software frameworks,XML, it is a improvement for the former MVC frameworks such as Struts. Different from Struts, the XMLMVC software realize the model by XML in MVC design pattern. XML is a data description language standard, the design objective of XML decide XML have the feathers: separation of content and form, good extensibility, plant independency, self-description, and so the user can define his own data format, and so, the XMLMVC share high flexibility of XML.By the reasearch of Web server side, an architecture of MVC design pattern in web server-side have been given, it is the basic to realize MVC design pattern in Web server side. In this architecture , we analysis the design and realization of the XMLMVC software frameworks. XMLMVC is a compond of some classes and interfaces. And at last, an application base XMLMVC realized.Under the development based XMLMVC software frameworks, the developers can only devote to the transaction logic and he will reuse the application frameworks from XMLMVC software frameworks, and so ,the application frame will be reuse, the developer will config the system correctly. And ,XMLMVC can be regard as the plant of component-based web application, a component-based web application can realized in XMLMVC software frameworks.

  • 【分类号】TP393.09
  • 【被引频次】31
  • 【下载频次】303
节点文献中: 

本文链接的文献网络图示:

本文的引文网络