Font Size: a A A

Application And Research Of MVC Design Pattern In Web Development

Posted on:2008-01-25Degree:MasterType:Thesis
Country:ChinaCandidate:T T TuFull Text:PDF
GTID:2178360215958456Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the popularity and development of the Internet , More and more enterprises have begun using systems based Internet as platforms of internal and external information dissemination,management,exchange and transaction. This kind of distributed application, which is called "Web Application" or "Browser/Server", can remarkably reduce expense in development, promotion, management, maintenance and training of enterprises. Therefore, it represents the future application trend of enterprise-class IT, and also will certainly be a hot technology. However, there are still many problems in B/S traditional project development. Because the absence of excellent software design pattern and development framework, client page document contains a number of related business logic code, making programes enigma; when the user needs changes, they often need to modify core business code; even, it will affect the entire business logic, which eventually led to increase development expense, reduce development efficiency and delay in delivery systems. More serious problem is that for some large-scale systems, as a result of changing demands and modifying core code many times, causes the system to be chaotic and the development work will be unable to continue to carry on.The production of these problems is because the used software design patterns have not use "divide and rule " approach and cannot fundamentally solve the problems which separate the expression layer from the business logic layer, and the business logic layer from the data layer.Aims at the existing web problems in present , through researching the MVC design pattern,analysing and comparing current mainstream development framework,and researching the EJB module of J2EE platform, this paper is written to propose a feasible development framework that is suitable for some large scale B/S development.The main work this paper reflects includes: 1. Researching the main design, work flow of the MVC design pattern "divide and rule", it is able to help to improve the maintainability,code reusability,expandability,portability of the system. And starting from the principle of the theory, research,analysis and comparison the existing mainstream development frameworks which bases on MVC design pattern.2. Research J2EE architecture,discuss the EJB module technology and achieve MVC design pattern by using Struts+EJB development framework.3. Use MVC design pattern adequately in CAAC communication-navigation-surveillance integrated database and information platform. The entire system uses four-layer architecture and modular design. Based on the MVC design pattern, this paper design View,Controller and Model of the device license module of this system in detail, finish its typical functions, and achieve and validate the superiority of MVC design pattern.4. Finally, discuss the problems exist in View and Controller of system, and propose the feasible optimum plan.
Keywords/Search Tags:Design pattern, MVC, B/S, Framework
PDF Full Text Request
Related items