News Feed
Sections




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

Robert Basic's Blog:
Chaining routes in Zend Framework
November 30, 2009 @ 12:04:28

Robert Basic has a quick new tutorial about chaining routes in your Zend Framework applications:

On a forum, there was a question today, about adding language "support" to the routes using Zend Framework. The guy wanted routes like /en/foo/bar or /de/baz. I wrote there an example for that using Zend_Router_Routes_Chain, so just posting that example here, too.

Custom routing allows you to define routes specific to your application without having to change the core libraries. In his example, he shows how to set up the routing objects and how to add them to the request's chain.

0 comments voice your opinion now!
chain route custom zendframework tutorial


blog comments powered by Disqus

Similar Posts

Phish Tank: Install & Configure Apache+PHP+ZendFramework+OracleDbXe On Windows In Minutes

Joshua Thijssen's Blog: Symfony2: Implementing ACL rules in your Data Fixtures

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

Padraic Brady's Blog: Compiling PHP for Windows Vista using Visual C++ Express 2008 - Seriously!

PHPMaster.com: Creating a PHP OAuth Server


Community Events





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


opinion series podcast testing unittest install introduction release list code community interview symfony2 laravel refactor framework developer threedevsandamaybe language api

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