PHP MVC Framework, In this article we are going to learn a custom PHP MVC Framework from scratch along with project, project we will build a registration and login system along with CRUD Application.
PHP MVC Framework:
PHP MVC Framework, MVC stands for model, view, and controller. MVC is a design pattern which separates our website or our code in three different parts, model, view and controller now what is model, view, and controller, let say we have a website and that website is built in MVC design pattern, so all the HTML code which have that website will be placed inside the views folder in MVC design pattern views is a folder so all the HTML code we will be placed inside the views folder, for example navigation bar code, HTML table code, forms code and HTML buttons code etc. Now model so all the database related queries which have that website will be placed inside the model folder I mean all database related code will be stored inside the model folder. Now finally Controller, Controller is middleware between views and model in simple worlds controller perform communication between model and views, the controller takes data from the views and gives it to model
PHP MVC Source Code:
I have uploaded all project source code on GitHub so you can grab the source code from the GitHub or you can simply click on the below download link.
COMMENTS