News Feed
Sections




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

PHPBuilder.com:
Build an MVC Framework with PHP
December 18, 2009 @ 07:50:52

On PHPBuilder.com today there's a new tutorial that walks you through the process of creating a simple MVC framework in PHP based on Smarty, PostgreSQL and the PEAR XML_Serializer package.

PHP now enables you to build robust, manageable, and beautiful enterprise web applications. The best way to do that is to divide the application into three components: model, view, and controller. In other words, you need to separate the presentation, the database, and the business logic from each other. The most common approach for achieving this design goal is to adhere to a strict Model-View-Controller (MVC) framework.

He uses the example of creating an application (a feed reader) to show how the parts of the MVC will fit together as a whole. You won't find any code examples in the article, just an explanation of how everything works together. You can, however, dowload the source and follow along.

0 comments voice your opinion now!
mvc framework tutorial smarty postgresql pear


blog comments powered by Disqus

Similar Posts

Felix Geisendorfer's Blog: Bringing the cold war to CakePHP 1.2 - The Containable Behavior

PHPBuilder.com: Using the PEAR Pager Package to Paginate MySQL Results

KillerSoft.com: SimpleTest 1.0.0 on Pearified.com

Rob Allen's Blog: MongoDB on OS X with the stock PHP installation

Joshua Eichorn's Blog: Slides from azPHP presentation of PEAR: An Introduction


Community Events

Don't see your event here?
Let us know!


php7 introduction api configure yii2 part2 podcast composer laravel opinion interview list symfony project example language community series framework application

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework