Font Size: a A A

The Research And Instance Of Web Application's Framework On The Basis Of MVC Pattern

Posted on:2006-05-15Degree:MasterType:Thesis
Country:ChinaCandidate:Y H WangFull Text:PDF
GTID:2168360155954422Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In order to solve the software crisis that getting worse increasingly, people apply themethod of engineering in software developing process, namely software engineering.With the increment of the software system scale and complexity, people realize, moreand more deeply, which the importance of the system structure design and specificationsis far beyond the choice of the particular algorithm and data structure in the practice ofsoftware engineering. A good system structure is the most important for assuring systemsuccess. Like the many-storied building, each software system has a certain systemstructure.The MVC(Model-View-Control) is a kind of excellent software developing modelwhich is becoming more and more popular in recent years. This design pattern has manyadvantages such as clear, effective module, be easy to expand and so on, carry out theseparation of the business logic and interface manifestation theoretically, it has theimportant meaning in Web applications. The thriving of Java, also brought newopportunity for Web development. especially the bring out of Java2 Enterprise Editionby SUN in 1999, which has the feature of operation in cross-platform, expansibility ,safety, has win a great support of the IT industry quickly .The J2EE is an open sourcebusiness enterprise system framework that be constituted according to the Java coretechnique ,such as Servlet, JSP, Bean, JNDI, JDBC and so on. It also wins the extensivesupport of the such as Borland , IBM, BEA etc. , combination with XML, the J2EE hasalready become one of the best standard system framework in business enterprise.Thetechnique of JSP which is developecd by the Sun company is a dynamic standard of Webtechnique, according to the Java language ,having the good cross-platform ability andsafe functions . Close Integration of JSP and J2EE, Web application development carryon the JSP/ Servlet+JavaBean with the pattern of MVC, have many advantages.Abroad, carry on the Web application development according to the pattern of MVCthrough become the essential technique that develops the electronic commerceapplication, at the domestic, the MVC development pattern have already replaced thetraditional Web development pattern gradually .Many big software companies havealready developed an its own framework of MVC.This paper according to the software system structure theories ,analysis and comparedtwo kinds of Webs development pattern , traditional Web application developmentpattern and according to the Web application development pattern of MVC .The lattercan overcome the disadvantage of traditional Web application development in the proper.Its biggest advantage is to separate the manifestation logic and the business logicsmutually, to adapt the requirement of more and more complicated web apply systemdesign .The emergence of MVC pattern, changing the traditional development way thatonly one man work on many duplicate job, make develop the process reasonabledivision of labor ,efficiently and fast .The reasonable usage MVC designs can make wokmore easily, therefore, MVC Web application's pattern has already become theineluctable trend.The whole designment and basic realization based on the Web application'sframework of the MVC pattern, mainly adopted the software system structure theories,the design pattern thought, framework theories, the pattern concept of development,face to the object theories thought knowledge, and J2EE system structure, and thetechniques of XML and JSP .The framework of MVC that this paper discussed, belongsto the layered system structure.It is divided into there layers,the view layer, the controllayer and model layer . The view layer adopts various design patterns and packs incommon use labels of HTML.It is be developed to a view component lib that has acertain system struture, at the same time carryed out the view's module of a few basiclayout strategy on the page, and sealed to pack the JavaScript,ushered into affairs andobjects.They can expediently born pages ;The Controller layer realized several processcontrols ;The model layer realized the operation and the data management of thedatabase .According to using the plug-in software of client, lighten the burden of theserver and network, make system been efficiently, fast movement.The paper introduced pattern of MVC and concept of J2EE, technique of XML,technique of JSP, the plug-in software of client combined together, make the wholesystem can be reused. Therefore, adopting this framework will make the Web design ofthe application system, development, maintenance become more effective and fast.The MVC development pattern is advantages to the software to develop efficiently,but basing on the Web application procedure of the MVC pattern development, majorityare designed by the pattern methods of B/S (browser-server).In this kind of designpattern , the server undertook the most workload .If the business is complicated, the bigwebsite will become the "muff", and original data that spreading by the client use agreat deal of network resources, make network seem to be crowded .Why don't use akind of efficiently of work method, to make the "strong" client computers to do somework? So, the plug-in software of client emerges with the tide of the times .But in Webapplications, the client to be as a rincipal part that can satisfy the requests of the general...
Keywords/Search Tags:MVC, design pattern, software system structure framework, Web application the plug-in software of client
PDF Full Text Request
Related items