When used properly it has it uses. But I did not think people would use it
the way they do when I added it the core.

http://mark-story.com/posts/view/how-using-requestaction-increased-performance-on-my-site


-- 
Larry E. Masters


On Thu, Feb 24, 2011 at 8:31 PM, Sam Sherlock <[email protected]>wrote:

> Andy Gale mentions that requestAction was not an option for use in a large
> scale site (in video on the tv site)
>
>
> http://mark-story.com/posts/view/reducing-requestaction-use-in-your-cakephp-sites-with-fat-models
>
> this article by teknoid is about menu specifically - I just found it &
> bookmarked it
>
> http://nuts-and-bolts-of-cakephp.com/2008/08/20/dynamic-menus-without-requestaction-in-cakephp-12/
>
>  - S
>
>
>
>
> On 25 February 2011 00:21, Krissy Masters <[email protected]>wrote:
>
>> Maybe I read it wrong back in the day but something idles in my head about
>> requestAction being bad. Is this true or still in effect? I am using 1.3.7
>> and I think I remember reading back in 1.2 its better to not use that
>> function.
>>
>> “If used without caching requestAction can lead to poor performance. It is
>> rarely appropriate to use in a controller or model.”
>>
>> I have 1 element on 3 pages where I simply need to grab 4 fields from a db
>> for the element. The element is loaded originally on the first page left
>> side navigation column, and links load content into the main column so the
>> element is never refreshed since its on the side nav column except if
>> someone “open in new tab / window” on the link so the element has no data
>> because its originally loaded on the main page. So rather than build that
>> data call into each of those 3 pages I figured request would be the best
>> option.
>>
>> My Picasso below :)
>>
>>
>> Side Col                  |       Main Col
>> ___________________________________________________________________
>> | nav => loads into main  |   content gets loaded here via ajax
>> |------------------------------------------------------------------|
>> |
>> | element                 |
>> |
>> ____________________________________________________________________
>>
>>
>>
>> Just looking for some input on the matter.
>>
>> Thanks,
>>
>> K
>>
>> --
>> 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
>> [email protected] 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
> [email protected] 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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to