Home Page : Glossary : "M" : MVC
A partial summary of MVC is that in an application the model is the data, the view is the user interface and the controller is the logic and glue between the two.
MVC was originally developed to map the traditional input, processing and output roles of command line applications into a corresponding model that could be applied to GUI applications. So whereas the traditional model was:
Input → Processing → Output
these map to:
Controller → Model → View
although it must be stressed that the inter-relationships between the model, view and controller are more complex that this simple comparison would suggest, and is normally represented as:
| controller | → | View |
| ↓ | ||
| → | Model |
or
| controller | → ← |
View |
| ↑↓ | ||
| → | Model |
Relevant links:
Can you add to this definition? If so please Report an Observation. Do you know of a relevant link to add under this definition? If so please Add a Link.
© Copyright 2004-2009, A B Cryer, All rights reserved.