News Feed
Jobs Feed
Sections




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

Echolibre Blog:
Customising Zend Framework Routing
March 13, 2009 @ 10:23:04

On the echolibre blog J.D. has made a new post looking at Zend Framework routing and how you can customize it to get the user where they need to go.

I wanted to write a post that shows a few different ways to customise Zend Frameworks routing when you're using their MVC implementation. Most of this is covered in the documentation, but it can be a little difficult to dig out.

He starts with the normal routing setup (the standard /module/controller/action and /controller/action setups) and moves on to the "magic" - a way to have a standard "framework URL" without having to include an action. He sets up a route with a wildcard to catch anything for that controller and passes it off to a custom router that goes through the request values and returns the values as though they were formatted normally in the URL.

0 comments voice your opinion now!
zendframework routing custom wildcard match parameter url


blog comments powered by Disqus

Similar Posts

Joe Topjian's Blog: My Zend_Acl Implementation

Matthew Weier O'Phinney's Blog: Autocompletion with Zend Framework and Dojo

Federico Cargnelutti's Blog: Review: Zend Framework 1.8 Web Application Development

Richard Thomas' Blog: ZF please before you go 2.0 gunho please clean out the attic

PHP-GTK Community Site: Accessing geo-nick with Zend Framework (Zend_XmlRpc_Client)


Community Events











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


hhvm language opinion performance package framework application release facebook podcast database symfony2 composer component install overview unittest introduction security hack

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