News Feed
Sections




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

Arnold's Blog:
Without a framework (M)VC
December 14, 2006 @ 10:59:00

Reading about the Model/View/Controller style of framework is one thing, but actually implementing a system based on it is a different story. Arnold decided to embark on this journey and is taking you along for the ride in this new post to his blog.

Thanks to the rise of the PHP frameworks the Model View Controller pattern is becoming quite popular. To get a good idea how this works and what job PHP and Apache have, I've written a short example Hello World application which implements the MVC model without the use of a framework.

He starts with a sort of general overview of the framework - advantages, disadvantages, etc - before getting into the code. He's creating a simple "Hello world" kind of application to show how it's done and includes links to the code he's created for the controller, the action, views, the router (an Apache .htaccess file), and the PHP to handle all of the requests.

0 comments voice your opinion now!
model view controller mvc framework tutorial helloworld model view controller mvc framework tutorial helloworld


blog comments powered by Disqus

Similar Posts

Markus Wolff's Blog: Extending Zend_Controller_Action

IBM developerWorks: A step-by-step guide to publishing your own PEAR channels

DevShed: An Introduction to Simulating the Model-View-Controller Schema in PHP

Michael Girouard's Blog: Rolling Your Own MVC: The View

PRADO Watch Blog: PRADO Watch: Interview With Timani Tunduwani - Why I Moved From CakePHP to PRADO


Community Events

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


introduction voicesoftheelephpant unittest community api series example interview library framework php7 laravel5 laravel version language podcast release opinion wordpress extension

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