MVCLight demo application

MVCLight is a lightweight MVC framework written in PHP, suitable for custom projects where a home-brew MVC base is needed, and for educational purposes. It is based on the MVC tutorial by

Basic Model View Controller architecture

MVCLight includes a simple MVC folder tree with a detached webroot folder.Like many other frameworks, the application is contained separately from the framework itself.

Picture of the MVCLight directory structure

Review its main features:


For questions, comments or doubts you can contact the developer at

You can download MVCLight framework here or synchronize from the SVN repository.
Current version: 0.1a.


Controller: home Action: index
# 0 65.373 ms: loading registry # 1 23.129 ms: loading router # 2 9.398 ms: loading controller # 3 0.231 ms: launching action
# 4 98.138 ms: total to launch action
# 5 20.202 ms: Total to execute queries
# 6 0.009 ms: Loading view home/index # 7 42.993 ms: Loading view elements/title # 8 21.209 ms: Loading view home/ajax/mvc # 9 3.751 ms: Loading view elements/menu #10 0.039 ms: Loading view layout
#11 68.029 ms: Total to load views
#12 186.380 ms: total execution time