I am curious as to how CakePHP actually works.  What I mean is what is
the most economical way to call a method from another controller?  If
you do a requestAction() does this actually go thru the dispatcher and
all that again?  Wouldn't it be more economical to call the controller
directly?  Of course, then I guess both ways the controller is loaded
into memory either via the uses or on the fly with requestAction.

Also, do you advise multiple requestAction calls in the views?  I would
think this should be placed in the controller itself since it is
somewhat code and then set a variable of the results for the view to
use.

You don't have to answer just these specific questions, but a
discussion on what is CORRECT CakePHP in terms of cross controller
calling and how to optimize it for speed would be helpful.


--~--~---------~--~----~------------~-------~--~----~
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