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

The Bakery: CakeSWXPHP, ACL and AssetPackager

WoorkUp.com: How-To Create Your Own Instant Search

PHPMaster.com: Understanding OAuth - Tweeting from Scratch, Part 1

HowTo Forge: Installing The PHP-MSSQL Module On CentOS 5.0

Norbert Mocsnik's Blog: Setting Up DokuWiki with Simple Authentication


Community Events





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


api opinion install series testing unittest community developer symfony2 language threedevsandamaybe podcast framework list interview refactor introduction code release laravel

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