MVC Design Pattern Flashcards
gets the user requests from the view layer and processes them, with the necessary validations.
Controller Layer
It acts as an interface between Model and View.
Controller Layer
which is what users see
The View
It represents the presentation layer of application.
The View
It is an object to carry the data that can also contain the logic to update controller if data is changed.
The Model
It sends the requested data to the client, that is fetched from model layer by controller.
View Layer
acts as a data layer for the application
Model Layer
consists of output of application or user interface.
View Layer
This fetch and store the model state in the database
Model Layer
handles data
The Model
It is used to visualize the data that the model contains
The View
It works on both the model and view
The Controller
represents the visualization of data received from the model.
View Layer
design pattern specifies that an application consists of a data model, presentation information and control information.
Model View Controller (MVC)
It represents the business logic for application and also the state of application.
Model Layer