On Thu, Jan 17, 2013 at 3:33 AM, Jan Goyvaerts <[email protected]>wrote:

> And it has come to that - forced into JS development ! Shame ! :-p
>
> But I've got to admit jquery allows you to pull off tricks that would be
> very difficult server side. so there's no escaping it any more. ;-)
>

Actually, the recent crop of binding frameworks (e.g. EmberJS initially and
more recently, AngularJS) has been dramatically shrinking the amount of
jQuery I use these days to the point that it's almost a code smell when I
see one. jQuery is still very useful but be aware that you should only ever
do graphical stuff with it (e.g. animations) and never use it to query
values (e.g. calling .val() on a DOM element).

One of the many great things about AngularJS is the very clear line it
draws in your conceptual model: any jQuery directive in your controller
code is wrong and should be moved out. jQuery was a great advancement in
making Javascript and single page applications more tractable, but I feel
that Javascript development has reached a brand new level of maturity with
AngularJS. If anything, you should spend more time learning this than
jQuery (which is pretty trivial in itself).

-- 
Cédric

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to