Tuesday, August 9, 2016

MVC

What is MVC ?
The Model-View-Controller (MVC) is an architectural pattern that separates an application into three main logical components: the model, the view, and the controller. Each of these components are built to handle specific development aspects of an application.

                                               model_view_controller
Modal - Holds all data related code, ex. get data from view or DB or business logic.
View - UI
Controller - Acts an interface between Modal and View to process all business logic

No comments:

Post a Comment