dcsimg
 

Build an MVC Framework with PHP

Friday Dec 18th 2009 by DatabaseJournal.com Staff

By combining the power of PHP with a nice templating system such as Smarty and a powerful database such as PostgreSQL, you can cleanly isolate the viewer of your application from the data model and controller.

[From PHPBuilder]

I first started building PHP web applications in 1997 when PHP was in version 3. Templating systems didn't exist then; object-oriented design was not a viable option; and the PHP code was downright ugly. Today, I work with PHP 5, which has a vastly improved object-oriented programming environment, mature templating systems, hundreds of useful PEAR packages, and powerful open source databases. With these advances, it's no longer acceptable to write PHP code that looks like linguini that's been thrown against the wall.

The article continues at http://www.phpbuilder.com/columns/keith_vance121709.php3

Home
Mobile Site | Full Site