News Feed
Sections




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

Rob Allen's Blog:
Where to set up your view?
December 10, 2007 @ 11:13:00

In a new post Rob Allen takes a look at working with the Zend Framework, specifically with his Views. He presents his method for doing layouts in anticipation of the Zend_Layout package.

With Zend_Layout on the horizon, I've been looking at how to use it and it will remove the need for my own front controller plugin which I call SiteTemplate. As a result, I need to find a new home for the view customisation stuff I do in SiteTemplate.

He presents two options - one is a front controller that abstracts off the setup of the view before the Layout component gets a hold of it and the other places the creation of the view into the bootstrap file as a helper. He wants your input as to which method might better (or if there's something else you can think of).

0 comments voice your opinion now!
zendframework view helper controller bootstrap zendframework view helper controller bootstrap


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: The Mysteries Of Asynchronous Processing With PHP - Part 2 (CLI applications)

Padraic Brady's Blog: An Example Zend Framework Blog App - Part 3: A Simple Hello World Tutorial

Tim Koschuetzki's Blog: How To Transform HTML To Textile Markup - The CakePHP TextileHelper Revisite

Internet.com WDVL: An overview of the Zend Framework

Padraic Brady's Blog: New Zend_Feed_Writer Component And Zend_Feed_Reader Enhancements (ZF 1.10)


Community Events





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


language api list application bugfix community code library series developer release podcast introduction framework project wordpress laravel interview configure threedevsandamaybe

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