【文章內(nèi)容簡介】
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 (Model): is the business process / status of the processing and business rules. Business process layer is the other blackbox 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 be 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 ponents, but it can not be used as a framework for application design model. It only tell you that according to the design of this model will be able to use certain technology ponents, thereby reducing the technical difficulties. Example of a developer, you can focus on business model design. MVC design pattern tells us that the application of the model according to certain rules of taking away the level of extraction is very important, which is to determine whether the development in accordance with good design. Abstract and concrete can not be separated too far, nor too close.MVC model did not provide the design method, but only tell you that the management of these models should be organized in order to facilitate reconstruction and improve the model reusability. We can make an analogy with object programming, MVC defines a toplevel category, the subclass to tell it you have to do these, but you can not do these restrictions. This is the developer of the programming is very important.There is also a business model of the model is very important that the data model. Data model mainly refers to the object data entities (continued of).Forexample, an order will be saved to the database, to obtain orders from the database. We can separate this model, all the operation of the database is only.Limited