Quantcast

Use of requestaction

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Use of requestaction

Bharat Maheshwari
I just want to know that the use of requestaction in a view file is good for coding or using Class::Rergistry is better then requestaction ?

--
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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Use of requestaction

lowpass
Those are very different things. What do you want to do exactly?

On Wed, Aug 1, 2012 at 3:43 AM, Bharat Maheshwari
<[hidden email]> wrote:

> I just want to know that the use of requestaction in a view file is good for
> coding or using Class::Rergistry is better then requestaction ?
>
> --
> 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
> [hidden email] 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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Use of requestaction

Bharat Maheshwari
I want to know is there any performance issue if i use requestaction in a ctp file???????

On Wednesday, August 1, 2012 11:29:16 PM UTC+5:30, cricket wrote:
Those are very different things. What do you want to do exactly?

On Wed, Aug 1, 2012 at 3:43 AM, Bharat Maheshwari
<<a href="javascript:" target="_blank" gdf-obfuscated-mailto="W1OTm_o3ExIJ">bharat.m...@logicspice.com> wrote:

> I just want to know that the use of requestaction in a view file is good for
> coding or using Class::Rergistry is better then requestaction ?
>
> --
> 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
> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="W1OTm_o3ExIJ">cake-php+u...@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Use of requestaction

Remy Bertot
Here are some interesting read on requestAction, maybe a bit old but I think most of it is still relevant :

http://debuggable.com/posts/requestaction-considered-harmful:48abb514-1f9c-4443-b91c-6d0f4834cda3

Cheers,


On Fri, Aug 10, 2012 at 2:29 PM, Bharat Maheshwari <[hidden email]> wrote:
I want to know is there any performance issue if i use requestaction in a ctp file???????

On Wednesday, August 1, 2012 11:29:16 PM UTC+5:30, cricket wrote:
Those are very different things. What do you want to do exactly?

On Wed, Aug 1, 2012 at 3:43 AM, Bharat Maheshwari
<bharat.m...@logicspice.com> wrote:

> I just want to know that the use of requestaction in a view file is good for
> coding or using Class::Rergistry is better then requestaction ?
>
> --
> 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+u...@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Use of requestaction

André Luis
In reply to this post by Bharat Maheshwari
From cakephp.org documentation:

If used without caching requestAction can lead to poor performance. It is rarely appropriate to use in a controller or model. 

If the ClassRegistry will not give you any conflict, it´s better, but if you have any conflict use the requestAction.

Em sexta-feira, 10 de agosto de 2012 09h29min40s UTC-3, Bharat Maheshwari escreveu:
I want to know is there any performance issue if i use requestaction in a ctp file???????

On Wednesday, August 1, 2012 11:29:16 PM UTC+5:30, cricket wrote:
Those are very different things. What do you want to do exactly?

On Wed, Aug 1, 2012 at 3:43 AM, Bharat Maheshwari
<[hidden email]> wrote:

> I just want to know that the use of requestaction in a view file is good for
> coding or using Class::Rergistry is better then requestaction ?
>
> --
> 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
> [hidden email] For more options, visit this group at
> http://groups.google.com/group/cake-php

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Use of requestaction

André Luis
In reply to this post by Bharat Maheshwari
If used without caching requestAction can lead to poor performance. It is rarely appropriate to use in a controller or model. 

If the ClassRegistry will not give you any kind of conflict, i recommend the use of this, but if you have trouble you can use requestAction without problems, i am using this for dinamic menus wich have related models.

Em quarta-feira, 1 de agosto de 2012 04h43min21s UTC-3, Bharat Maheshwari escreveu:
I just want to know that the use of requestaction in a view file is good for coding or using Class::Rergistry is better then requestaction ?

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 
Loading...