News Feed
Sections




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

Pádraic Brady's Blog:
Having a bad ViewRenderer day in your ZF app?
June 06, 2007 @ 09:25:00

With the introduction of the ViewRenderer component into the Zend Framework has come all sorts of troubles for all sorts of developers. Thankfully, there's posts like this one from Pádraic Brady that helps out with some of the more common issues people are seeing (a problem/solution approach).

The ViewRenderer "action helper" is the class Zend_Controller_Action_Helper_ViewRenderer. It's primary purpose is to facilitate the automated rendering of View scripts (templates) based on the generally accepted Zend Framework conventions. It's these conventions which will cause a lot of people grief, since the previous reliance on programmers defining the template to render has likely led to inconsistent template names.

Included in the post is a list of some of the common issues developers have including "ViewRenderer is enabled by default", "Inconsistent location of template files" and "Reusing template files across Controller actions". For each, he's included a "quick hit" solution to get you back on the straight and narrow road to having a nicely working Zend Framework application.

0 comments voice your opinion now!
zendframework viewrenderer problem solution zendframework viewrenderer problem solution


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: PEAR::Encryption and Zend_Crypt Revisited

Padraic Brady's Blog: Zend Framework: Survive The Deep End - Still Kicking :)

Community News: Zend Framework Beta 0.9.0 Released

Ruben Vermeersch's Blog: Integrating Zend Framework and Doctrine

Matthew Turland's Blog: Zend Framework and Remember The Milk


Community Events





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


symfony unittest api framework podcast interview release laravel series update community deployment tips introduction install package zendserver opinion library language

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