News Feed
Sections




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

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

Zend Developer Zone: Zend Webinar Wednesdays: Zend Framework 1.0 - An Overview

Cal Evans' Blog: CodeWorks 09 Free Webcast Series

Gopal Vijayaraghavan's Blog: PHP Noodle Soup!

Zend Developer Zone: Get to know Flex and Zend_Amf

Debuggable Blog: How To Save Half A Second On Every CakePHP Request


Community Events

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


series security community laravel5 php7 list framework version extension interview api library voicesoftheelephpant introduction podcast example opinion laravel release language

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