Recommendations for jQuery and Bootstrap books ?

652 views
Skip to first unread message

Jan Goyvaerts

unread,
Jan 17, 2013, 6:33:54 AM1/17/13
to The Java Posse
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. ;-)

Can somebody recommend lecture for both the subjects ? 

Thanks,

Jan




Cédric Beust ♔

unread,
Jan 17, 2013, 11:50:29 AM1/17/13
to java...@googlegroups.com
On Thu, Jan 17, 2013 at 3:33 AM, Jan Goyvaerts <java.a...@gmail.com> 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

Ricky Clarkson

unread,
Jan 17, 2013, 11:58:45 AM1/17/13
to javaposse
I'd just suggest Doug Crockford's JavaScript, The Good Parts.  I've never seen a Bootstrap or a jQuery book, and can't imagine looking for one.


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

Eric Pederson

unread,
Jan 18, 2013, 7:45:50 AM1/18/13
to java...@googlegroups.com
"Secrets of the Javascript Ninja" is really good.  It's written by John Resig, the creator of JQuery (though JQuery is not the focus of the book).   I also recommend "Javascript, the Good Parts".

There is a Packt book on Bootstrap, but I haven't read it and there's a O'Reilly book on Angular coming out in March (http://www.amazon.com/AngularJS-Brad-Green/dp/1449344852).

phil swenson

unread,
Jan 18, 2013, 11:50:07 AM1/18/13
to java...@googlegroups.com
Interesting, Cédric. Very strong endorsement.

Are you coding in plain javascript or using Coffescrit/Dart/something else?

What is the server side you are developing against? Java/node.js/?

Cédric Beust ♔

unread,
Jan 18, 2013, 11:10:18 PM1/18/13
to java...@googlegroups.com
We're using Tomcat (it could be Jetty, I'm killing one by one all the .jsp I can get my hands on :-)) and I'm using straight Javascript. I've looked at all the various alternatives but they are not worth the trouble to me. I'm also using underscore.js to make my life a bit easier (come on, 'for' loops? What year is this, 1998?).


-- 
Cédric

Marco Faustinelli

unread,
Jan 19, 2013, 5:30:55 AM1/19/13
to java...@googlegroups.com

The jQuery pitfall is to ... just start hacking. The moment you are juggling jQuery stuff to patch sloppy HTML created at runtime by last month's jQuery stuff, then you are back to square one.

If you are being "forced" :-) to move processing to the browser, the book I recommend is "Single Page Web Applications", ed. Manning.

It provides a useable solution in pure Javascript, based on the module pattern (see "JS: The Good Parts", already endorsed elsewhere). It still uses jQuery for event mgmt and -simple- DOM selectors, but here jQuery is meant as a tool not as the driver, which it never should be.

[If you asked me, I'd say JS development is definitely NOT a shame. JS is a great language. But this is OT.]  :-)

Joe Sondow

unread,
Jan 20, 2013, 3:07:07 AM1/20/13
to java...@googlegroups.com
I suggest Rebecca Murphey's online book jQuery Fundamentals which includes a lot of JavaScript best practices, especially Chapter 10: Code Organization.

uris77

unread,
Jan 21, 2013, 1:28:50 PM1/21/13
to java...@googlegroups.com
Master Space And Time With Javascript by Noel Rappin is also great http://www.noelrappin.com/ 
Has a strong focus on TDD.
Reply all
Reply to author
Forward
0 new messages