News Feed
Jobs Feed
Sections




News Archive
PHPImpact Blog:
Zend Framework Encapsulating routes into modules
August 04, 2008 @ 13:47:35

On the PHP::Impact blog, Federico Cargnelutti has another helpful tip to use in Zend Framework applications - encapsulating routes into modules.

You can encapsulate routes into modules by splitting the routes into different files and extending the Zend_Controller_Router_Rewrite class. But, what if you want to use the Redirector helper to set a URL based on a registered route?

His method creates the routing instance and overwrites the default getRoute method with a custom one in the extending class.

0 comments voice your opinion now!
zendframework encapsulating route module override custom getroute


blog comments powered by Disqus

Similar Posts

Anthony Wlodarskis Blog: Authentication with Node.js and Zend Framework

Rob Allen's Blog: Zend_Config_Ini and a string

Zend Developer Zone: An Extra Special Zend Framework Bug Hunt for October 2010

Padraic Brady's Blog: Zend_Service_Openid Is dead; But It's Reincarnation Is Coming

Zend Developer Zone: OSCON '07 Wrapup


Community Events











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


code testing language phpunit opinion framework database podcast unittest composer object introduction development interview functional example release conference zendframework2 community

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