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

Zend Developer Zone:
Zend Framework Routing with XML
May 14, 2010 @ 13:31:29

On the Zend Developer Zone today there's a new tutorial looking at creating custom routing with the help of XML for your Zend Framework application.

If you use Zend Framework you probably used the initRoutes() function in your Initializer.php to create nice URI's and creating some different routing in your application. To create a customized route for your application you can use the Zend_Controller_Router_Route class from the Zend Framework.

The tutorial shows you the code you'll need in your application, a sample XML document with some custom routes defined, the class to read it all in and the initializer to get the ball rolling.

tagged: zendframework tutorial routing xml custom

Link:


Trending Topics: