Hi.

Is there a way of not loading all models automatically at the bootstrap?

As far as i can tell by looking at the code, all models are automatically
loaded in the bootstrap process. I can see the advantages of this, since
we don't have to care about loading them ourselves.

The thing is that in the app i'm building i will have over 200 models! At
each page request i will use half-a-dozen at most and, nevertheless, all
200 will be loaded!

Perhaps only the models used by the requested controller should be loaded
no? Is there something i'm missing?

Thanks in advance.

-- 
Gonçalo Marrafa <[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
-~----------~----~----~----~------~----~------~--~---

Reply via email to