News Feed
Sections




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

Federico Cargnelutti's Blog:
An Alternative to Zend_Controller The Router
April 09, 2009 @ 08:44:44

Federico has continued his look at his alternative to the Zend_Controller component of the Zend Framework - Zf_Controller in this new part of the series focusing on routing.

Here's the good news: Zf_Controller doesn't have a Router. It uses a very simple mapping to determine the name of the controller and action.

He gives an example of the "non-routing" and how to work with the input variables for the controller instance - defining default values and setting requirements for them (as defined by matching a regular expression).

You can read more about the first part of the series here.

0 comments voice your opinion now!
zendcontroller zendframework alternative router variable zfcontroller


blog comments powered by Disqus

Similar Posts

Eran Galperin's Blog: Profiling queries with Zend_Db and optimizing them by hand

Zend Developer Zone: Zend Framework Gets An Unofficial PEAR Channel

Jani Hartikainen's Blog: Making a PDF generator class using Zend_Pdf

Zend Developer Zone: ACRONYM or MixedCasing in Zend Framework 2? You decide!

PHPBuilder.com: Building RESTful Web Services with the Zend Framework


Community Events

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


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

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