News Feed
Sections




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

Felix Geisendorfer's Blog:
Bringing the cold war to CakePHP 1.2 - The Containable Behavior
May 14, 2007 @ 10:56:00

Felix Geisendorfer is sharing a bit of his CakePHP knowledge with us today with this new post to his blog. It shines a spotlight on a feature of the framework - a behavior called "Containable".

For those of you who can't await this, here comes a little teaser in form of a behavior for Cake 1.2 called 'Containable'. Essentially it is yet another way to unbind associations from a model recursively on the fly. However, I think it's more powerful then all the ones released so far.

He lists his reasons (it's smart, it's for the lazy, etc) for using it before getting into a code example showing how, with the help of a bit of extra code) to make an object that can make making associations simple.

0 comments voice your opinion now!
cakephp framework containable behavior cakephp framework containable behavior


blog comments powered by Disqus

Similar Posts

Jani Hartikainen's Blog: Reusable "generic" actions in Zend Framework

Symfony Project: Book preview: read the Unit Tests chapter

The Bakery: Some ideas to organize your CSS files and autoload them in CakePHP

Lukas Smith's Blog: Transforming end user queries to Solr

PHP in Action Blog: Flash Messages


Community Events





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


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

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