摘要
重构是在不改变软件可观察行为的前提下,通过对软件内部结构的改变,提高软件的可理解性并降低变化成本。Struts是目前Web应用表现层MVC模式的一个流行实现框架。以一个典型的Web应用为例,通过分析发生在此应用的两个迭代生命周期之间的重构过程(基于Struts框架),以及实施重构之后给系统带来的积极影响,验证了重构在平衡满足用户需求与保证开发过程健康有序进行之间的作用。
Refactoring is to improve software's intelligibility and reduce cost of changes via changing soRware's interior structure, under the precondition of without changing software's observable activities. Struts is a popular framework implementation for MVC model in presentation layer of present web applications. A typical web application was used as an example to analyze the effects of refactoring in balancing satisfying user's requests and ensuring a healthy and regular development process, via an analysis on the refactoring process happening between the interval of two interactions, and the changes of the system after implementing the refactoring work.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第2期352-355,共4页
Computer Engineering and Design