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

SSH框架在Web项目开发中的设计与实现
引用本文:卢肖霞.SSH框架在Web项目开发中的设计与实现[J].计算机测量与控制,2018,26(10):122-127.
作者姓名:卢肖霞
作者单位:广州医科大学信息技术教研室
基金项目:国家自然科学基金项目“高维多目标进化算法的研究与应用”(61603106)
摘    要:在Web项目开发中,一个良好的框架可以加快开发速度,降低成本,减少工作量,同时可以使Web项目具有良好的扩展性和移植性。基于Spring MVC+Spring+Hibernate(简称SSH)的项目以其快速的开发效率和良好的扩展性,成为中小企业应用主流的框架组合。Spring MVC是一个基于MVC设计模式的框架,是Spring的子项目,主要负责表现层和控制层的功能,例如响应请求等。Spring是一个实现IoC和AOP的容器,降低组件间的耦合度,可以整合和支持Spring MVC和Hibernate等主流框架,使业务逻辑更加清晰。Hibernate负责管理数据持久化,实现与数据库相关的CRUD操作。以购书网站的后台管理系统为例,重点说明SSH框架在Web应用系统的后台开发中的应用。

关 键 词:Spring  MVC    Spring    Hibernate    SSH    Web项目开发
收稿时间:2018/2/28 0:00:00
修稿时间:2018/4/10 0:00:00

The Design and Implementation of SSH Framework in Web project development
Affiliation:Guangzhou Medical University Information technology teaching and research office
Abstract:In the development of Web projects, a good framework can speed up development, reduces costs and reduces workload, and enables Web projects to have good scalability and portability. The project based on Spring MVC+Spring+Hibernate (referred to as SSH) has become a mainstream portfolio framework for small and medium-sized enterprises because of its rapid development efficiency and good scalability. Spring MVC is a framework based on MVC design patterns, as a sub project of Spring, which is responsible for the functions of the presentation layer and the control layer, such as response requests. Spring is a container to realize IoC and AOP, reduces coupling between components, integrates and supports main frameworks such as Spring MVC and Hibernate, and makes business logic clearer. Hibernate is responsible for managing data persistence and implementing CRUD operations related to the database. Taking the background management system of the book purchase website as an example, the application of the SSH framework in the background development of the Web application system is emphasized.
Keywords:Spring MVC  Spring  Hibernate  SSH  Web Project Development
点击此处可从《计算机测量与控制》浏览原始摘要信息
点击此处可从《计算机测量与控制》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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