Difference between revisions of "Model-View-Controller (MVC)"
From Coder Merlin
Aidan-kollar (talk | contribs) |
Aidan-kollar (talk | contribs) |
||
Line 5: | Line 5: | ||
* '''The view''' allows the user to have a visual representation of the data and choose how they want to manipulate it. | * '''The view''' allows the user to have a visual representation of the data and choose how they want to manipulate it. | ||
* '''The controller''' acts as a liaison between the model and view which will never communicate directly with each other. | * '''The controller''' acts as a liaison between the model and view which will never communicate directly with each other. | ||
The MVC system was introduced in the 1970's, but expressed as a general concept later in 1988. The system has evolved over time with many variations, such as hierarchical model-view-controller (HMVC), model-view-viewmodel (MVVM), model-view-presenter (MVP), model-view-adapter (MVA), and many other adaptations of the MVC system. | |||
== The Model == | == The Model == |
Revision as of 10:37, 18 August 2021
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
Introduction to MVC[edit]
The model-view-controller consists of the model, view, and controller.
- The model interacts with data inputted and stored in the system.
- The view allows the user to have a visual representation of the data and choose how they want to manipulate it.
- The controller acts as a liaison between the model and view which will never communicate directly with each other.
The MVC system was introduced in the 1970's, but expressed as a general concept later in 1988. The system has evolved over time with many variations, such as hierarchical model-view-controller (HMVC), model-view-viewmodel (MVVM), model-view-presenter (MVP), model-view-adapter (MVA), and many other adaptations of the MVC system.
The Model[edit]
The View[edit]
The Controller[edit]
By: Mark, Reese, and Aidan