毕业论文

打赏
当前位置: 毕业论文 > 外文文献翻译 >

MVC设计模式英文文献和中文翻译

时间:2018-12-16 19:16来源:毕业论文
MVC is a widely popular software design pattern,as early as in the 1970s,IBM introduced the Sanfronscisico on the project,in fact ,is the MVC design pattern research. Introduction 31576 The Model-View-Controller(MVC)design pattern is cited a

MVC is a widely popular software design pattern,as early as in the 1970s,IBM introduced the Sanfronscisico on the project,in fact ,is the MVC design pattern research.
Introduction 31576
The Model-View-Controller(MVC)design pattern is cited as the basis for the architecture of several web application frameworks,such as ASP.Net,Rails,and Struts.The MVC pattern was originally implemented in the Smalltalk-80 programmin-
g environment developed at Xerox PARC(Goldberg and Robson,1985).As it has been adapted for web frameworks the MVC pattern has evolved in different ways,resulting in implementations that differ significantly from each other and from the original Smalltalk implementation.
MVC design idea
MVC in English or Model-View-Controller,an application that is input process,output process in accordance with the Model,View,Controller isolated manner,such an application is pided into three layers-model layer,view layer,control layer.
View(View) on behalf of the user interface for Web applications can be summed up as HTML interface,but has the potential to XHTML,XML,and Applet.With the application of the complexity and scale,the interface has become challenging to deal with.An application may have different views,MVC design pattern to deal with the view of the limited view of data acquisition and processes.The handing of business process to the model to deal with.For example,a view only accept orders from the model data and display to users,as well as input user interface data and the request passed to the control and model.
Model:is the business process of the processing and business rules.Business process layer is the other black-box operation,the model view to accept the request of the data,and return the results of the final.The design of business models can be said to the most important core of  MVC.Currently popular model of EJB applications is a typical example of the application of technology from the perspective of the model further delineation in order to make full use of existing components,but it can not be used as a framework for application design model.It only tell you that according to design of this model will be able to use certain technology components,thereby reducing the technical difficulties.Example of a developer,you can focus on business model design. 源¥自%六:维;论-文'网=www.lwfree.cn
Control can be interpreted as a request received from the user,matching the model and view together to complete the user’s request.The role of pision of control layer is also very clear that it clearly tell you that is a distributed,and what kind of model to choose,choose what kind of view,to complete what the user requests.Control layer does not do any data processing.For example,the user clicks on a link and control layer to receive a request,does not deal with business information,only the user’s information to the model,to tell what model to choose the view to meet the requirements to return to the user.Therefore,a model may correspond to multiple views,one view may correspond to multiple views,one view may correspond to a number of models.
The benefits of MVC
Most of the process of language use such as ASP,PHP developed Web application-
s,the development of the initial template is the mixed layer of the data programming.For example,send the request directly to the database and display HTML,development speed is often faster,but because of the separation of data pages is not very direct,and therefore reflect the business model difficult to look or model reusability.Very flexible product design efforts,it  is difficult to meet the changing needs of users.MVC layered on the application of the requirements,although additional work would take,but clearly the structure of products,product application though the model can be better reflected.
First of all,the most important thing is that there should be a number of view corresponds to the ability of a model.In the current rapidly changing user requiremen-
ts,it may have access to a wide range of applications.For example,orders for the model may be orders of the system as well as online orders,or orders for other systems,but the handling of orders is the same,that is to say the handling of orders is the same.MVC design pattern in accordance with a orders for models and multiple views can solve the problem. MVC设计模式英文文献和中文翻译:http://www.lwfree.cn/fanyi/20181216/27788.html
------分隔线----------------------------
推荐内容