On 9/19/06, Shutter <[EMAIL PROTECTED]> wrote: > My main concern is optimization. It would seem easier to only enable > certain associations during queries...but perhaps my thinking is > off-base. How can this be optimized so that the application can scale > well?
I think your thinking is off base ;-) Associations are not only useful in case of retrieval - but think of what would/should happen to a particular User's Posts if you happen to delete that User. Imho, the best thing to do would be to model all associations and use $recursive where appropriate. -- Martin Schapendonk, [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
