Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Developer.com:
Build your own MVC Framework: Making Headway
Aug 31, 2009 @ 14:09:06

Continuing on from the first part of the series, Marc Plotz forges ahead in his development of a PHP MVC (Model/View/Controller) framework. This new article gives a more complete overview of how the entire framework is structured.

Unlike the previous part, I am not simply giving you the part of the framework that we discuss, but a much more complete version. You will need a MySQL database to run it on, and you will have to setup the connection in application/db.ini.php. My example should guide you. You should not have to do much else than create the database and connect to it.

You can grab the source here and follow along with the tutorial as it steps through bootstrapping and a registry that replaces a "super global" handling method that could cause trouble.

tagged: mvc framework tutorial bootstrap registry

Link:


Trending Topics: