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

From Coder Merlin
(MVC Summary)
m (Sections)
Line 4: Line 4:
  * 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 eachother.
  * The controller Acts as a liaison between the model and view which will never communicate directly with each other.
 
== The Model ==
 
== The View ==
 
== The Controller ==


[[File:1200px-MVC-Process.svg.png|thumb|MVT Structure]]
[[File:1200px-MVC-Process.svg.png|thumb|MVT Structure]]
By: Mark, Reese, and Aidan
By: Mark, Reese, and Aidan

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