Welcome to the MVCnPHP Project
An MVC implementation should be easy to use and speed up development. Not add a layer of senseless bloat. If you are looking for a bare bones MVC implementation with most of the features you'll ever need then look no further. We're sure you'll agree using MVCnPHP is crazy easy.
What is MVCnPHP
MVCnPHP stands for Model-View-Controller in PHP and it is just that...an MVC implementation written in PHP. Not familiar with MVC? We'd recommend a quick read on Wikipedia. In a nutshell it's a design pattern that creates a clean separation between the presentation layer (screens) with the business logic layer (models).
Features in MVCnPHP
- Namespace support
- Optimized for use with opcode caches like APC
- Fully object oriented and easily extended.
- Ability to bind model objects to views
- Ability to convert HTML forms into model objects
- Configureless. No messy XML files to edit. Just create your views or commands, drop them in an MVCnPHP directory and you are done!
- Security focused design. Views and commands allow you to setup access levels, protocols (GET vs POST) and whether the view or command can be called directly or not.
- Views can make use of any HTML template library you choose (or you can opt to use none at all).
- Like http://example.com/pretty/urls/? We do too and you get it with MVCnPHP
- Robust. MVCnPHP has been in use on production systems for over four years.
Downloading MVCnPHP
Using PEAR
We've provide an easy to install package on the Apteno PEAR channel. Installation is easy:
#>pear channel-discover pear.apteno.net #>pear install apteno/MVCnPHP
NOTE: it is current in beta as this version makes use of namespace support found in PHP 5.3 which is now in alpha.
Using Subversion
You can also obtain MVCnPHP from our subversion repository:
#>svn co http://www.apteno.net/AptitudeCMS/svn/trunk/MVCnPHP/ ./MVCnPHP
What next?
- Why not read up on the MVCnPHP Guidebook? which gives real world examples on how to use this MVC implementation
- Collaborate with the developers by joining our official support channel, #aptitudecms on irc.freenode.net
- Find a bug in MVCnPHP? Submit a bug report
