Anyone knows why JSHelper will be removed in CakePHP 3.0? What is bad about it that caused it to be removed?
On Saturday, September 7, 2013 9:25:36 PM UTC+8, ravag...@gmail.com wrote:
-- On Saturday, September 7, 2013 9:25:36 PM UTC+8, ravag...@gmail.com wrote:
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 <light...@gmail.com> 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 cake-php+u...@googlegroups.com.
> To post to this group, send email to cake...@googlegroups.com.
> 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 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.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment