The problem is that if all your models are related, then even just
using one will mean that all model classes are loaded.  We have an app
here with 34 models, and about 25 of them are associated (up to five
degrees of separation).  These 25 models will be loaded for virtually
every page request, even though they are not used.

At some point in the future I plan to test the app where there are no
implicit associations - every association needs to be built before the
query that needs it.  This shouldn't need to be any more complex than
Felix's Containable behaviour ( 
http://www.thinkingphp.org/2007/06/14/containable-20-beta/
), and should hopefully provide some performance benefit.


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to