Why prefix it?
If $this->request->is('ajax') then do what ever.
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of André Luis
Sent: Friday, May 24, 2013 2:09 PM
To: cake-php@googlegroups.com
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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment