MVC ARCHITECTURE

MVC is a way to design software, in which the software to create a Lifecycle is divided into three parts Model, View and Controller.
Model:-The model is responsible for handling data of a software application. Meaning in the software application how to store the data in the database and how to bring the store data from the database in the database is done on the model.

View:-It is responsible for displaying the data brought from the database. View does not bring data from the database but displays the data brought by the model. This means that the responsibility of displaying data is above it.

Controller:-It is responsible for controlling the relationship between Model and View. It receives the input given by the user, then after that input, the model requests the data.

After that, the data provided by the model is made available for view so that the data can be displayed Dispaly.

If we define Model, View and Controller in simple words, then the work of Model is related to the database, which means that whatever work related to the database is done by the model. View work is to show the data to the user and controller's work is to control both the model and view.

AngularJS is a MVC based framework.
Laravel is a MVC based framework.
cake PHP is a MVC based framework.
codeigniter is a MVC based framework.
Zend Framework is a MVC based framework.
Phalcon is a MVC based framework.

Comments