News Feed
Sections




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

Michael Girouard's Blog:
Rolling Your Own MVC The View
April 28, 2008 @ 09:39:45

Michael is back with part three of his series stepping you through the creation of your own MVC framework (Part 1 and Part 2) with a look at the part that interfaces with the user - the View.

Using the view as a starting point may seem odd at first considering the view-related actions are some of the last steps in the page load scenario, but since our views don't have any external dependencies, unit tests are very easy to write and so is the accompanying code.

He explains how views work along with the rest of the framework and some of the basic rules surrounding how they get their data. Code comes along with the explanations for different views like XML, HTML and JSON methods of output.

0 comments voice your opinion now!
modelviewcontroller mvc view tutorial output xml html json


blog comments powered by Disqus

Similar Posts

BillS' IIS Blog: How to install FastCGI and PHP on IIS7 Beta 3 (Video)

Zend Developer Zone: AJAX Chat Tutorial Part 6 : Updating the User List

Matthew Weier O'Phinney's Blog: From the inside-out: How to layer decorators

Oracle Technology Network: Creating an Ajax Process Using PHP and Oracle

PHPMaster.com: Dependency Injection with Pimple


Community Events





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


podcast library voicesoftheelephpant symfony community list zendserver laravel introduction interview deployment developer series api language framework bugfix release tips conference

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