Object::requestAction() is, in most cases, evil.  99% of the time when
you think that you need requestAction, what you really need is to take
a step back and look at what it is you are trying to accomplish.

Reasons for being evil:
1) Every time you call requestAction, a new Dispatcher cycle is
started in addition to the originating request.  If you have several
calls to requestAction, you're gobbling up additional resources.  If
you have dozens (hundreds?) of pages to zip, then you'll most likely
max out on your memory usage, or at least make every thing turn to
molasses.

2) The way most people use requestAction creates a MVC anti-pattern.
Doubly evil.

-Joel.

On Apr 2, 8:14 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> It sounds to me like what you're after is Object::requestAction. This
> will allow you to effectively grab a page that the site might produce
> and put it into a variable, which gives you the ability to collect
> those pages into your zip file.
>
> Simonhttp://www.simonellistonball.com/
--~--~---------~--~----~------------~-------~--~----~
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