My favorites | Sign in
Logo
                
Activity: Low
Code license:
New BSD License
Labels:
web2bb, framework, php, mvc
Feeds:
Project feeds

web2bb is original work by Kevin Waterson distributed under the new BSD license from this website: http://chopwoodfetchwater.com/

WEB2BB is an ultra light, ultra fast, and freely available MVC written in PHP. It does not try to be all things to all people, nor does it even care what other frameworks do. It just provides a simple and easy to use framework for PHP projects.

Original framework requires PHP 5.3 and uses namespaces.

My version is ported to work in PHP 5.2.x and enhanced in several ways:

class someController extends baseController {
function view($id,$action) {
// controller action
}
}
...
url for this action:
/some/view/1/move/

and action view(1,'move') will be called. /some/view/ without parameters will generate an error.

See /models/app/blogmodel.php for example model. Example controller is /modules/blog/controllers/blogcontroller. Views are in /modules/blog/views/.

All is quite simple, you can learn the code of the whole framework in one hour. And it's still super fast, even with my enhancements ;-)

Sergei Yatsenko, http://yatsenko.ru









Powered by Google Project Hosting