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

Struts框架的扩展与改进
引用本文:叶娜.Struts框架的扩展与改进[J].计算机技术与发展,2007,17(12):16-19.
作者姓名:叶娜
作者单位:西安交通大学,电信学院,陕西,西安,710049;西安建筑科技大学,信控学院,陕西,西安,710055
摘    要:Struts框架是目前流行的Web应用开发框架之一。为了更好地使用和开发框架,在对Struts框架源码进行深入分析的基础上,总结了Struts框架中的主要扩展点,包括插件的使用以及配置类和控制器的扩展点;结合实际使用经验,提出通过制定基Action方法模板以便于开发。此外,提出视图和模型机制的扩展和改进方案,包括Action Form子类代码自动生成、Struts标签库的扩展以及使用业务委托和服务定位器设计模式访问模型。

关 键 词:框架  控制器
文章编号:1673-629X(2007)12-0016-04
收稿时间:2007-06-04

Extention and Improvement of Struts Framework
YE Na.Extention and Improvement of Struts Framework[J].Computer Technology and Development,2007,17(12):16-19.
Authors:YE Na
Abstract:Struts is one of the popular frameworks for Web application development. In order to use and develop framework better, the extension points of Struts were summed up in this paper based on deep analysis on the source code of it. The main extension points includ- ed the plngin and the extension to the configuration class and the controller. According to practical experiences, the base Action methods template was proposed for easily developing. Furthermore the extension and improvement proposals of the view and model including the automatic code generation of the ActionForm subclass, the extension to Struts taglib and accessing the model component by using business delegate and service locator design patterns were raised.
Keywords:Struts
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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