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:
Zend Framework View Helpers
March 14, 2011 @ 12:56:18

Rob Allen has written up a post today consolidating some of the knowledge he has about using view helpers in the Zend Framework, starting with the basics and some code along the way.

Zend Framework's Zend_View component supports helper methods known as view helpers. [...] typical Zend Framework project using Zend_Application, such as that generated using the zf command line tool, will have a folder called helpers within the views folder for each module. There will also be a helpers folder within the layouts folder too.

He goes on to show how to introduce custom view helpers into your application and how extending the Zend_View_Helper_Abstract class gives you access to many of the common view functions (like "escape").

0 comments voice your opinion now!
view helper zendframework introduction


blog comments powered by Disqus

Similar Posts

Alexander Netkachev's Blog: How to use Zend Framework Controller/Action approach?

Rob Allen's Blog: Access view variables in another view model

PHPMaster.com: An Introduction to Mock Object Testing

Matt Knight's Blog: Optimising Zend_Config

PHPit.net: Book Review: PHP5 Recipes: A Problem-Solution Approach


Community Events

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


part2 example series language community programming api yii2 list composer interview framework opinion podcast php7 introduction application project symfony laravel

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