摘要
本文探讨了Struts MVC开发模式的工作原理,介绍了Struts的一般配置和使用方法。针对项目开发中试题自动随机生成和视图设计的难点,采用MVC分层设计模式,把复杂的系统划分为简单的模块进行开发。实践证明,采用基于Struts MVC设计模式,可以将系统进行很好的分工,使系统层次结构更加清晰,降低模块之间耦合性,简化编程,提高软件开发效率,增强系统的可维护性。
This paper discusses the working principle of Struts MVC development mode,and introduces the general configuration and usage of Struts. In view of the difficulties of automatic random generation of test questions and view design in project development,the complex system is divided into simple modules by using MVC hierarchical design mode. Practice has proved that the design mode based on Struts MVC can divide the system into different parts,make the hierarchical structure of the system clearer,reduce the coupling between modules,simplify the programming,improve the efficiency of software development,and enhance the maintainability of the system.
出处
《科技广场》
2017年第7期60-62,共3页
Science Mosaic