model-view-controller

(redirected from MVC model)

model-view-controller

An architecture for building applications that separates the logic and data (model), the user interface (view) and processing (controller). The model-view-controller (MVC) method is widely used in Web-based application frameworks, in which case the model and controller functions are executed in the server, and the view is executed in the browser.

Component Interaction
The model is a database that holds the business logic and application data, and the controller interacts directly with the model to modify the view.

The view manages the presentation to the user, while the controller accepts input from the user through forms, clicks and other interactions with the page and customizes the view based on the model.

Views and Controllers May Be Combined
In non-Web applications, MVC views and controllers are often combined into a single object because they are closely related. For example, the controller code validates a request for data and causes it to be returned in a view. View-controller objects are tied to only one model; however, a model can have many view-controller objects associated with it. See Struts.
References in periodicals archive ?
MVC stems from the Smalltalk language, in Smalltalk-80, the MVC model is to refer to model view pneumatic control model, it including three types of objects: The model provides the business logic, service data and provides the data accessing method; The view is the demonstration of the model on selected screen; The controller is used to handle user command as well as program event, manages interaction that user and view have.
ASP.NETMVC completely changed the Web developers using the Microsoft platform, the ability of the new framework design pays more attention to pure architecture, the use of the design patterns and test, controllability of all the code reduction to developers, therefore, the MVC model is widely used in large scalable Web project development.