-
Notifications
You must be signed in to change notification settings - Fork 0
MVC usage in application development
Devrath edited this page Nov 30, 2023
·
4 revisions
-
Viewlayer is considered as the part of the application that has access to the life cycle of the device. -
Modellayer is the data part of the application that stores the data. This layer forms the part that does thecontentof the app. -
Controllerlayer is the layer responsible for deligating the control fromviewtomodeland sending back the response frommodeltoview. - Vulnerability here involves that too much responsibility is placed on the
controllerclasses. Things involvehandling business logic,calling API's and callback, andcommunicating with database. - You can see the flow of control happens from
View->Controller->Model<-> Then the control comes back <->Controller->View - Remember that the controller is the brain that control the flow between
modelandview