I used to work like this, but now i´m using the ajax prefix to keep more 
organized... BUT it´s only my suggestion :D

Em sábado, 25 de maio de 2013 02h29min01s UTC-3, advantage+ escreveu:
>
> Why prefix it?
>
>  
>
> If $this->request->is('ajax') then do what ever.
>
>  
>
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *André Luis
> *Sent:* Friday, May 24, 2013 2:09 PM
> *To:* [email protected] <javascript:>
> *Subject:* Re: Cakephp Ajax helper or Jquery?
>
>  
>
> I usually use the same controller for ajax, but use prefixes for ajax 
> requests
>
>  
>
> ajax_index, ajax_edit, ajax_delete...
>
> Em sexta-feira, 24 de maio de 2013 06h21min45s UTC-3, Sam escreveu:
>
> Hi Cakephp experts,
>
>  
>
> I would like to try out Ajax. May I know what are the pros and cons of 
> Cakephp Ajax helper and Jquery? I have never touched ajax and would like to 
> know which is a better choice as a start. Thank you very much.
>
> -- 
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected]<javascript:>
> .
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to