Mutant Vole PHP
Mutant Vole is a lightweight, customizable, web-application library based on the Model View Presenter pattern, written in PHP5. It follows the Passive View variant of Model View Presenter. This means the View is completely decoupled from the Model and the Presenter handles all updating of the View.
Features
- Build pages by compositing reusable controls, each with its own View and Presenter
- Support for Smarty and HTML_QuickForms
- JSON-RPC integration
- BYOM (Bring Your Own Model)
Dependencies
- PHP 5.2
- Smarty (optional)
- HTML_QuickForm (optional)
- Spyc (optional)
By default, Mutant Vole expects to find Smarty, HTML_QuickForm and Spyc in directories under /lib.
It's Not a Framework
Mutant Vole does not implement the Model (domain, service and data layers) and is thus, not a complete framework. You will need to provide your own solution for accessing a datastore and business logic. However, MVP can easily be extended to include any Model implementation you wish.
Get It
To get the latest code for Mutant Vole (version 0.2), you can download the file on the right, or check out a copy of the 0.2 branch.