News Feed
Sections




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

DevShed:
An Introduction to Simulating the Model-View-Controller Schema in PHP
August 07, 2006 @ 07:38:18

So, you've been hearing more and more about all of the PHP frameworks that are available (CakePHP, Zend Framework, etc) but feel left wondering what really powers them behind the scenes (what is MVC anyway?). Well, this new article from DevShed might help to shed some light on things.

Would you like to learn how to simulate an MVC-based system with PHP? If so, you've come to the right place. This is the first article in a three-part series that will show you how to build this schema in PHP by constructing a few classes that represent what is needed.

They start off introducing the Model/View/Controller style of development, showing it as a cleaner alternative for web site development. From there, they break out into the different parts of an application - first a look at the controller to handle the requests, then a basic model class to perform the logic, and then the view to show the results of the script on the page. Their simple application allows for some string manipulation (uppercase, lowercase, reversing, etc).

0 comments voice your opinion now!
model view controller framework simulate tutorial part1 model view controller framework simulate tutorial part1


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Re-introducing FuelPHP

Ryan Malesevich's Blog: iTunes Stats for Macintosh with PHP & MySQL Part 1

Leo Buttiker's Blog: Trevi is online!

Marco van Hylckama Vlieg\'s Blog: Which PHP framework holds a promise for the future?

Alexander Netkachev's Blog: Create Ajax Login page with Dojo toolkit and Zend Framework


Community Events





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


composer security introduction interview voicesoftheelephpant library artisanfiles list symfony conference community series opinion tool podcast laravel framework language version release

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