Skip to content

This repository is probably the simplest version of an MVC system, useful for those who want to create a frameworkless project without sacrificing the convenience of the organization that guarantees the MVC pattern.

License

Notifications You must be signed in to change notification settings

JaxonRailey/php-minimal-mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP minimal MVC

Whoever wants to know what's behind the scenes of a framework has a lot to study but can start from here 😉

This repository is probably the simplest version of an MVC system, useful for those who want to create a frameworkless project without sacrificing the convenience of the organization that guarantees the MVC pattern.

Clearly it is only useful for educational purposes, to understand how to divide the code according to the task.

M the model has the role of querying the database;
V the view hosts the html code that will be displayed in the browser;
C the controller contains the logic of the project and takes care of the data exchange between model and view.

💪 The more daring could use it as a base to create their own personal framework.

If you liked what I did, if it was useful to you or if it served as a starting point for something more magical let me know with a star 💚

About

This repository is probably the simplest version of an MVC system, useful for those who want to create a frameworkless project without sacrificing the convenience of the organization that guarantees the MVC pattern.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages