Guys, keep in mind that in CakePHP 3.0 there will be no JSHelper. https://github.com/cakephp/cakephp/pull/1012
So I personally recommend to not rely on it, if you can. Sam, if you just started to use CakePHP and have not implemented JSHelper yet, don't start with it. There's not much advantage over it except for convenience. You still can write performant & clean jquery code in combination with CakePHP without using JSHelper. Greetings from Switzerland Marc Am Freitag, 6. September 2013 09:08:38 UTC+2 schrieb Simon Males: > > Yes you can. > > JsHelper is just a shortcut to a few jQuery methods. > > In particular I believe it's a convenient tool if you use jQuery UI. > > On Fri, Sep 6, 2013 at 2:32 PM, Sam <[email protected] <javascript:>> > wrote: > > Dear CakePHP experts, > > > > I would like to use CakePHP and jQuery. There are sample source code > > available with jQuery that I would like to use. But when I read CakePHP > > documentation, the code with JsHelper is different from jQuery. Can I > simply > > use jQuery and not JsHelper in CakePHP? > > > > May I ask those who have used JsHelper, what are the advantages of > JsHelper > > over jQuery? > > > > Thank you. > > > > -- > > 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. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > Simon Males > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
