Re: Scary associations with recursive calls

2007-04-09 Thread dericknwq
Yes exactly. I tried the expects() and it works like a charm. When recursive calls get too deep, the replicated queries get really scary. On top of that half the time we will not be using most of the data returned as well. It will be really sweet if there is a way to not just specify the Model req

Re: Scary associations with recursive calls

2007-04-09 Thread Felix Geisendörfer
> > I've used expects() and in my opinion, should become a core feature of > CakePHP. It feels a lot more natural than the bind and unbinding of > associations. It's succinct. And because it's built on top of the bind/ > unbind approach, you can still use it if necessary. +1. I could not imagine de

Re: Scary associations with recursive calls

2007-04-09 Thread jonathan.snook
On Apr 9, 12:01 am, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > This sounds like a scream for help, and expects() is up to the challenge ;) > > http://bakery.cakephp.org/articles/view/185 I've used expects() and in my opinion, should become a core feature of CakePHP. It feels a lot more natur

RE: Scary associations with recursive calls

2007-04-08 Thread Mariano Iglesias
This sounds like a scream for help, and expects() is up to the challenge ;) http://bakery.cakephp.org/articles/view/185 -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool