model-view-controller


Also found in: Medical, Acronyms, Wikipedia.

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 ?
The pieces of the Model-View-Controller (MVC) architecture in Ruby on Rails are as follows:
It treats object-oriented system architecture (the model-view-controller architecture), information models, presentation and interaction objects, prototyping tools, and several design examples.
One such graphical architecture is the Smalltalk model-view-controller parts collaboration with its emphasis on describing client and server applications [3].
Familiarity with Django and/or with Model-View-Controller (MVC) patterns is a plus as is familiarity with JSON, which is used for data transfer between client and server.
Part III introduces a higher-level conceptual view of the architecture and design of Web applications, emphasizing the model-view-controller design paradigm in particular.
Examples include Apple's MacApp (for building a Mac interface), Borland's ObjectWindows, and the model-view-controller architecture within ParcPlace System's Objectworks (6, 8).
0 is the latest update to Microsoft's Model-View-Controller technology, which enables developers to build dynamic, data-driven web sites.
Instructions and code are provided for two creational patterns, three structural patterns, five behavioral patterns, the model-view-controller pattern, and a symmetric proxy pattern incorporating multiple patterns.
In the process, readers will learn how Rails helps control code complexity with the model-view-controller architecture, abstraction layers, and code refactoring.

Full browser ?