Font Size: a A A

The Development Framework And Application Based On MVC Mode And Persistence Of ORM Object

Posted on:2011-04-11Degree:MasterType:Thesis
Country:ChinaCandidate:J GuoFull Text:PDF
GTID:2178360332957266Subject:Software engineering
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:B/S, PHP, MVC model, AJAXT Technology, ORM Technology
PDF Full Text Request
Related items