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

IBM developerWorks: PHP frameworks, Part 1: Getting started with three popular frameworks

Felix Geisendorfer's Blog: Making error handling for Model::save more beautiful in CakePHP

WebReference.com: Controllers: Programming Application Logic - Part 2

Joshua Thompson's Blog: Prototype-based programming in PHP

Idrish Laxmidhar's Blog: How to send mail from Localhost with XAMPP and mercury/32


Community Events

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


release series voicesoftheelephpant library conference version opinion api php7 performance xdebug extension framework symfony2 introduction example community interview laravel podcast

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