Introduction
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 …
- SimpleOnly 1 core file containing 3 classes with a small set of MVC related functionality.
- TinyCore file is 12KB uncompressed, 3.5KB zipped.
- MinimalistOnly the bare essentials are here. Non-MVC related functionality are not provided.
- RobustCore code is very small and can be audited and secured quickly.
SQL injection protection with PDO. - UnobtrusiveNo restrictions on use of other libraries like PEAR or another ORM like Doctrine.
All PHP globals are accessible. - FlexiblePDO 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! - FastNo feature, code or framework bloat at all.
Even faster when used with a PHP Accelerator like APC. - FriendlyIt uses Human/Robot friendly URLs.
Also upgrade friendly, simply overwrite of the old core file with the new one! - FreeKISSMVC 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. - FunIt is easy and fast to learn. Use it to try out the MVC software design pattern.
- SeriousKISSMVC 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!