Err... Larry, the book warns "If used without caching requestAction
can lead to poor performance. It is rarely appropriate to use in a
controller or model." and I can attest to poor performance of RA
What are we missing here?
Tarique
On Fri, Jun 29, 2012 at 5:36 PM, Larry E. Masters <phpnut@gmail.com> wrote:
> Why is there an assumption that RA is something to avoid? This is
> misinformation that has been passed around too long.
>
> --
> Larry E. Masters
>
>
> On Fri, Jun 29, 2012 at 6:51 AM, Dr. Tarique Sani <tariquesani@gmail.com>
> wrote:
>>
>> On Fri, Jun 29, 2012 at 10:00 AM, Ilie <ilie.pandia@gmail.com> wrote:
>> > Hello,
>> >
>> > Another way to do this is to have one controller requestAction to fetch
>> > (as
>> > array or objects) all the data you need to render your modules, then
>> > using
>> > Elements or View Blocks to do the actual rendering of the modules.
>>
>> requestAction is the thing to avoid :D
>>
>> Tarique
>>
>> --
>> =============================================================
>> PHP for E-Biz: http://sanisoft.com
>> =============================================================
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscribe@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php
--
=============================================================
PHP for E-Biz: http://sanisoft.com
=============================================================
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Friday, June 29, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment