The Development Framework and Application Based on MVC Mode and Persistence of ORM Object
- Author
- GuoJun
- Advisor
- LiangYanChun
- School
- Jilin University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 132
- Citations
- 2
Abstract
With the development of e-commerce, more and more enterprises adopt WEB based system as the platform for the distribution, exchange, management and trading of information. In the traditional B/S mode, the functionalities of the system scatter in the WEB pages provided by the server, users can only use them by repeating the procedures including submitting, awaiting, response and update. The users’actions are usually synchronized with those of the responses of the services, while under the conditions without ideal speed or the server is overloaded, the experience of the user would be poor. The presentation layer of the system is on the server, and the organization of the interfaces is implemented by the server, which makes the load of the performance be placed on the server, and can’t take advantage of the effective computational capability of the client computers. Because of the above, the value of the development mode based on the combination of WEB application based three-layer structure and MVC mode is clearly revealed.During the research, we first studied the function and realization mechanism of MVC mode in Web application development. Then we studied the Web application framework of the combination of MVC mode and ORM technology. Finally, a complete solution was given through system framework designing. After it was established, the framework was applied to the designing process of software development management system..This paper mainly studied the following:1) It analyzed in detail the design thinking of MVC mode, intensively studied the working principle and design rationale of PHP framework, and its work flow and configuration components. It realized the strict separation of the models and views in the business domain, and used controller to control views and models. Consequently, it decreased the coupling of system code design, and increased the robustness of the system.2) It demonstrated the advantages and disadvantages of several frameworks currently used in Web application development, and described the advantages of developing Web application using PHP combining MVC mode and three-layer architecture. It presented realization method of application framework for developing management system.3) It introduced relationship database models and object models, partially implemented ORM in Persistence class, and presented the procedure of realizing the mapping in J2EE Hibernate employing the attribute mapping in PHP entity class.4) The innovation of this paper includes: It presented a solution based on MVC mode and three-layer architecture in system development employing the ideas of MVC mode; It realized persistence storage of data object using ORM technology, which increased the reusability and flexibility of the code in the procedure of development.
Table of contents
Abstract 4-6
ABSTRACT 6-10
Chapter 1 Introduction 10-14
1.1 Background 10 <br / > 1.2 development Status 10-13
1.3 The main contents 13-14
Chapter 2 introduces the MVC pattern and ORM technology 14-22
2.1 MVC design pattern 14-18
2.2 object-relational mapping (ORM) 18-22
Chapter 3 frame design structure 22-26
3.1 view layer vIEW ( directory TEMPLATES) 22-23
3.2 model layer mODEL (INCLUDE directory ) 23-24
3.3 control layer CONTROLLER ( catalog CONTROLLERS) 24
3.4 other design structure 24-26
Chapter 4 object-relational mapping (ORM) implementation 26-34
4.1 mapping entity base class design 26-28
4.2 mapping entity class definition method 28-29
4.3 mapping entity class definition and specification 29-30
4.4 PERSISTENTS, object persistence operations to achieve 30-32
4.5 PESISTENCE class ( persistent ) implementation 32-34
Chapter 5 framework in the development of application deployment 34-38
5.1 sets a health management system outlined 34-35
5.2 sets a health management system features and functions outlined 35
5.3 system architecture specific subordinates 35-38
Chapter 6 System test 38-41
6.1 the system test environment 38
6.2 test Method 38-39
6.3 tests common problems and solutions 39-41
Chapter 7 Conclusion 41-42
References 42-44
Thanks 44
Related dissertations
- Design and Implementation of Bank Human Resource Management System
- Implementation of Transmission Lines On-Line Monitoring Backstage Query Software on B/S
- The Design and Realisation of a System to Calculate the Surface Tension of the Alcohol-water-system by Use of Computer
- The Management System of the Master of Software Engineering
- Design and Implementation of the Students’ Courses Selection System
- Witkey System Design
- Design and implementation of Sichuan University Jinjiang college employment platform system
- Design and Implementation of the Digital Conference System Based on Summer Framework
- Research and Implementation of the Microblogging Content Distribution System
- The Design and Implementation of the Hosting Server Monitoring System
- The Design and Implementation of Public Situation Monitor System
- The Design and Realization of Internet Public Opinion System
- Non negative pressure water pump monitoring system design and implementation of SCADA software
- Design and Implement of Educational Administration System
- Design and Implementation of Finance Forum Web System
- Design and Implementation of Teaching Website Based on JAVA
- The Design and Implementation of Shaoshan Meteorological Website
- Research and Application on Discriminating Technique of "Socialbots" in Social Network
- Design and Implementation of the Browser Dynamic Customization System Based on LAMP
- Research and Development of the Network File Management System Based on PHP Technology