PHP MVC Framework
MVC Design Pattern
Model - perform data validations, process data and store it
The model is known for business logic and the application data. The data can come from;
flat file
database
XML document
Other valid data sources.
Controller - this is the part deals with the users’ requests for resources
The controller links the models and views together depending on the requested resources. The controller will load the requested data from the model to retrieve the it then output the results in the list view.
Views - this part deals with presenting the data to the user. (HTML pages)
Last updated