KISSMVC is a simple and minimalist PHP Model-View-Controller (MVC) framework for rapid development of web applications.
It is designed with the KISS principle in mind, and the entire source code can be read and understood in minutes.
KISSMVC provides 3 small classes:
- The Model class is a simple ORM that works on single database tables.
- The View class is a simple PHP templating system.
- The Controller class lets you use friendly URLs routed though a single index.php page.
KISSMVC is ...
Only 1 core file containing 3 classes with a small set of MVC related functionality.
Core file is 12KB uncompressed, 3.5KB zipped.
Only the bare essentials are here. Non-MVC related functionality are not provided.
Core code is very small and can be audited and secured quickly.
SQL injection protection with PDO.
PDO abstraction allows choice of databases.
Core MVC classes can be extended or overriden easily using object oriented inheritance.
Choice of using procedural or object-oriented code or both!
No feature, code or framework bloat at all.
Even faster when used with a PHP Accelerator like APC.
It uses Human/Robot friendly URLs.
Also upgrade friendly, simply overwrite of the old core file with the new one!
KISSMVC is open-source, free software released under the MIT License.
You are free to do anything with it, just don't remove the included license text.
It is easy and fast to learn. Use it to try out the MVC software design pattern.
KISSMVC is not a toy framework. It is designed for powering production websites.
It is also probably the easiest framework for refactoring your existing .php projects into a MVC pattern.
Sounds good? Download KISSMVC now!