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

Matrin Rusev's Blog: Building a PHP Framework - Lessons Learned

Project: Patchwork-UTF8 - UTF8 Support for PHP

Community News: Del.icio.us Switches to Symfony

Vito Chin's Blog: Session-based object instantiation with memcached

The Bakery: Eight New Articles, Helpers & Components


Community Events

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


security php7 podcast opinion series list language library release api community framework laravel5 version introduction laravel extension interview example voicesoftheelephpant

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