@xephex: Hey, thanks for taking the time to put together such a detailed proposal. In fact, we're actually in the process of refactoring the Configure class to handle class loading consistently for all objects. If you want to email me offline, I can show you what we have in mind. Object initialization, however, is a little bit trickier, especially when it comes to classes like controllers and components. The code has been written to operate in a specific order for very specific reasons, and trying to rearrange it in a refactor could result in the disruption of several things, including various types of caching, error page handling and objects getting initialized out-of-sequence.
On Sep 4, 9:14 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 9/4/07, R. Rajesh Jeba Anbiah <[EMAIL PROTECTED]> wrote: > > > > > Kudos for the time invested. My concern is that caching and > > unnecessary creation of objects. (The objects have to be created even > > if the page is already cached). I have noticed that object creation > > (even for some single pages with "Hello world") slows down the pages > > at least to some extent. > > Well, I believe that it is the *output* that is being cached, not the > objects themselves. There are multiple caching methods in Cake, and while the most well- known ones relate to caching rendered content, there is also a persistent object cache which can speed up rendering significantly. @R. Rajesh Jeba Anbiah: Chris was not insinuating that you were an idiot, or even that your point wasn't valid. He just asked to see some evidence backing up your statement; that's not unreasonable. While Chris can be a bit heavy-handed at times (not that that's the case this time), it's usually not unwarranted. And heavy-handed or not, he's usually right. So you might want to take that into consideration, and try to take things less personally. They're usually not meant that way. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---