News Feed
Sections




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

The Bakery:
CakePHP's routing explained
November 02, 2009 @ 08:28:59

New on The Bakery there's an article explaining some of the inner workings of the CakePHP framework - its routing system.

Routing in CakePHP is a very powerful feature and is used to make URLs look good. Experience in the #cakephp IRC support channel tells me it appears to be hard to grasp even though the book is quite complete. This article should change that a bit and discuss the main features of routing. Comments below asking for support will be ignored, to get support, there is the Google group and the #cakephp IRC channel.

They look at some of the default routes built into the framework, how to create custom routes with named elements (and passing parameters into the action for them) as well as tips on setting up match conditions and prefix routing. Code samples are included.

0 comments voice your opinion now!
cakephp framework routing tutorial


blog comments powered by Disqus

Similar Posts

Blond R's Blog: Set up IIS 7 w/ MySQL and PHP 5

Robert Basic's Blog: A Zend_Captcha example

Rami Alnawas: How to unit test code with Phalcon MVC Models

Lorna Mitchell: 9 Magic Methods in PHP

Padraic Brady's Blog: Zend Framework Caching (Parts 1, 2 & 2b)


Community Events





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


library interview bugfix introduction community opinion language tips package voicesoftheelephpant symfony deployment series podcast framework list laravel api release install

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