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

Zend Developer Zone: New PHP5.3+ Framework: Jolt

International PHP Magazine: Poll Question: What is the Top Mistake That PHP Coders Commit?

PHPMaster.com: Writing a RESTful Web Service with Slim

Refulz Blog: Yii Framework - Scenarios for Conditional Multiple Validation Rules

Chris Hartjes' Blog: Using CakePHP's Native Web Service Support


Community Events

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


podcast threedevsandamaybe symfony laravel5 opinion version laravel library unittest community extension api introduction language voicesoftheelephpant interview security release series framework

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