Select content modules
Model-view-controller (MVC) is both a design pattern and an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from user interface considerations, resulting in an application where it is easier to modify either the visual appearance of the application or the underlying business rules without affecting the other. In MVC, the model represents the information (the data) of the application and the business rules used to manipulate the data; the view corresponds to elements of the user interface such as text, checkbox items, and so forth; and the controller manages details involving the communication to the model of user actions such as keystrokes and mouse movements.
Welcome to CWAnswers
CWAnswers is your guide to the sprawling world wide web. The directory aims to provide a useful guide made by users. You can share your knowledge as well - simply sign up and edit your first entry. For questions just contact the team at support - at - cwanswers.com.
Weblinks for Model-view-controller
Top 10 for Model-view-controller
Things about Model-view-controller you find nowhere else.
Draconis Software Blog " An Introduction to Model-view-controller
... Blog Contact. Draconis Software Blog. An Introduction to Model-view-controller ... The concept of Model-view-controller (or MVC) is a common one and has become ...www.dracoware.com/blog/2006/06/21/an-introduction-to-model-v...Musical Geek Friday #4: Model-View-Controller MVC Song - good coders ...
... on Musical Geek Friday - the Model View Controller (MVC) song! This song was ... http://www.catonmat.net/blog/musical-geek-friday-model-view-controller-song ...www.catonmat.net/blog/musical-geek-friday-model-view-control...Coding Horror: Understanding Model-View-Controller
... concept of Model-View-Controller was originally ... Posted by Jeff Atwood View blog reactions " The Mainstreaming of GPS Supporting DRM-Free Music " ...www.codinghorror.com/blog/archives/001112.htmlModel-View-Controller in Web 2.0 - O'Reilly Mac DevCenter Blog
In Software Engineering, the Model-View-Controller pattern is well established. ... Model-View-Controller in Web 2.0. listen. Friday October 7, 2005 5:03PM. by ...www.oreillynet.com/mac/blog/2005/10/modelviewcontroller_in_w...ASP.NET MVC Framework - ScottGu's Blog
... a model-view-controller (MVC) based ... What is a Model View Controller (MVC) Framework? ... Built-In Model View Controller Support Announced For ASP.Net ...weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-frame...Wikipedia About Model-View-Controller
Model-view-controller (MVC) is both a design pattern and an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from user interface considerations, resulting in an application where it is easier to modify either the visual appearance of the application or the underlying business rules without affecting the other. In MVC, the model represents the information (the data) of the application and the business rules used to manipulate the data; the view corresponds to elements of the user interface such as text, checkbox items, and so forth; and the controller manages details involving the communication to the model of user actions such as keystrokes and mouse movements.
History
The pattern was first described in 1979 by Trygve Reenskaug, then working on Smalltalk at Xerox PARC. The original implementation is described in depth in the influential paper Applications Programming in Smalltalk-80: How to use Model-View-Controller.
After that, numerous derivatives of the MVC pattern appeared. Probably one of the most known of them is the Model View Presenter pattern, which appeared in the early 90s and was designed to be an evolution of MVC. However Model-View-Controller still remains very widely used.
In November of 2002 the W3C voted to make MVC structures part of their XForms architecture for all future web applications
Pattern description
Model-view-controller is both an architectural pattern and a design pattern, depending on where it is used.
As an architectural pattern
It is common to split an application into separate layers that run on different computers: presentation (UI), domain logic, and data access. In MVC the presentation layer is further separated into view and controller.
MVC is often seen in web applications, where the view is the actual HTML page, and the controller is the code that gathers dynamic data and generates the content within the HTML. Finally, the model is represented by the actual content, usually stored in a database or in XML nodes, and the business rules that transform that content based on user actions.
Though MVC comes in different flavors, control flow generally works as follows:
- The user interacts with the user interface in some way (e.g. presses a button).
- A controller handles the input event from the user interface, often via a registered handler or callback.
- The controller notifies the model of the user action, possibly resulting in a change in the model's state. (e.g. controller updates user's Shopping cart).
- A view uses the model (indirectly) to generate an appropriate user interface (e.g. the view produces a screen listing the shopping cart contents). The view gets its own data from the model. The model has no direct knowledge of the view.
- The user interface waits for further user interactions, which begins then a new cycle.






















