News Feed
Sections




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

Zend Developer Zone:
Action Helpers in Zend Framework
April 09, 2008 @ 08:53:34

On the Zend Developer Zone, there's a article posted from Matthew Weir O'Phinney spotlighting one of the handy features of the Zend Framework - Action Helpers.

Action Helpers in Zend Framework are often considered a fairly arcane subject, something for experts only. However, they are meant to be an easy way to extend the capabilities of Action Controllers, negating the need to create your own base controller with custom functionality. The aim of this tutorial is to show you how to quickly and easily create and use Action Helpers to your advantage.

He covers some of the basics - setting up a controller to extend Zend_Controller_Action - and assigning helpers to it. He looks hat hooking in events, registering and retrieving the helpers with a Broker and how to create your own custom helper. Their example is a form loader that lest you load the code for a form by submitting its class name.

1 comment voice your opinion now!
zendframework action helper controller example tutorial


blog comments powered by Disqus

Similar Posts

DZone.com: GladiusDB and Firebird: Databases for Your PHP Apps

Zend Developer Zone: Build an Enterprise-Grade PHP Stack with Zend Server 5.0 and Oracle 11g

Patrick Reilly's Blog: Zend Framework Project Teams Need You

ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 9

Ask About PHP: PHP and jQuery: Submit a form without refreshing the page


Community Events





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


developer language series unittest api library configure symfony podcast community introduction install list release interview code wordpress laravel application threedevsandamaybe

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