Difference between revisions of "Model-View-Controller (MVC)"

From Coder Merlin
m (Sections)
Line 2: Line 2:


The model-view-controller consists of the model, view, and controller.  
The model-view-controller consists of the model, view, and controller.  
* The model interacts with data inputted and stored in the system.  
* 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 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 Model ==
== The Model ==

Revision as of 10:31, 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 Model[edit]

The View[edit]

The Controller[edit]

MVT Structure

By: Mark, Reese, and Aidan