Re: Can one use jquery instead of JsHelper?

2013-09-07 Thread ravage1984
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 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 cake-php+u...@googlegroups.com javascript:. 
  To post to this group, send email to cake...@googlegroups.comjavascript:. 

  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+unsubscr...@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.


Re: Can one use jquery instead of JsHelper?

2013-09-07 Thread Sam
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:

 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+unsubscr...@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.


Re: Can one use jquery instead of JsHelper?

2013-09-07 Thread ravage1984
https://groups.google.com/forum/#!searchin/cakephp-core/jshelper/cakephp-core/UaXqk_rTdxE/AaznyE_XG1gJ

Am Samstag, 7. September 2013 15:49:13 UTC+2 schrieb Sam:

 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:

 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+unsubscr...@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.


Can one use jquery instead of JsHelper?

2013-09-06 Thread Sam
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+unsubscr...@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.


Re: Can one use jquery instead of JsHelper?

2013-09-06 Thread 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 lightai...@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+unsubscr...@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.



-- 
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+unsubscr...@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.