DEV Community

loading...
Cover image for A minimalist MVC project using PHP and without a framework

A minimalist MVC project using PHP and without a framework

Jorge Castro
You are free to believe in whatever you want to, me too. So, stop preaching your religion, politics, or belief. Do you have facts? Then I will listen. Do you have a personal belief? Sorry but no.
Updated on ・1 min read

Discussion (1)

Collapse
kaurov profile image
Eugene Kaurov

Hi,

I am wondering that you have db-selection in your controller. It should be in model class.

I believe all model classes should be grouped in 'model' folder.

PHP Source of MVC blog sample created using no framework: github.com/kaurov/BlogNoFrameworkMVC

Regards
Eugene

Forem Open with the Forem app