Skip to content

Instantly share code, notes, and snippets.

@GoodGuyGregory
Last active February 21, 2020 16:27
Show Gist options
  • Save GoodGuyGregory/2fc5763a17af5f64aaa75c9933c920fa to your computer and use it in GitHub Desktop.
Save GoodGuyGregory/2fc5763a17af5f64aaa75c9933c920fa to your computer and use it in GitHub Desktop.
Model View Controller Notes
## Model View Controller
Each Part is of software design in this programming paradiagm is concerned with its own role in the presentation and delivery of well functioning applications.
**Separation of Concerns**
Each part of the program has a single concern. allowing for different development strategies for teams
**Model**
Only Handles the data, Represents the application's knowlege
Handles CRUD operations for the application.
Handles passing of the model data to the controller.
**View**
ONLY handles Presentation of the data. passed from the controller.
Made for each page/routes which are passed form the controller to the view
**Controller**
Handles the presentation between the Model and View Components.
This Controller is also responsible for Route Handing for the user or client side presentation methods, but mainly for handling the requests and not alot of details with the types of datatypes and content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment