views:

233

answers:

8

I want to improve my JavaScript so I thought it'd be a good idea to get a book on Object Oriented JavaScript. But I also use a lot of jQuery so I'm looking for a book that approached OO JavaScript from a jQuery point of view

+2  A: 

jQuery in Action :

alt text

Book Description:

A good web development framework anticipates what you need to do and makes those tasks easier and more efficient; jQuery practically reads your mind. Developers of every stripe-hobbyists and professionals alike-fall in love with jQuery the minute they've reduced 20 lines of clunky JavaScript into three lines of elegant, readable code. This new, concise JavaScript library radically simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages.

jQuery in Action, like jQuery itself, is a concise tool designed to make you a more efficient and effective web developer. In a short 300 pages, this book introduces you to the jQuery programming model and guides you through the major features and techniques you'll need to be productive immediately. The book anchors each new concept in the tasks you'll tackle in day-to-day web development and offers unique lab pages where you immediately put your jQuery knowledge to work.

There are dozens of JavaScript libraries available now, with major companies like Google, Yahoo and AOL open-sourcing their in-house tools. This book shows you how jQuery stacks up against other libraries and helps you navigate interaction with other tools and frameworks.

jQuery in Action offers a rich investigation of the up-and-coming jQuery library for client-side JavaScript. This book covers all major features and capabilities in a manner focused on getting the reader up and running with jQuery from the very first sections. Web Developers reading this book will gain a deep understanding of how to use jQuery to simplify their pages and lives, as well as learn the philosophy behind writing jQuery-enhanced pages.

SjB
I already read some of this and I wasn't too impressed. It was an intro to the usage of jQuery, but not from an object oriented point of view
DaveDev
+1 for this book. Very good!
Shervin
I've this book here, it actually doesn't tell anything about "OO JavaScript", let alone "OO jQuery". It's however an *excellent* introduction to jQuery for the jQuery-nitwit (with at least some basic JS knowledge tho).
BalusC
A: 

i can offer my labmates books, just checked. first one is Learning jQuery, Better Interaction Design and Web Development with Simple JavaScript Techniques, see details here and second, Object-Oriented JavaScript Create scalable, reusable high-quality JavaScript applications and libraries,check here.

berkay
+6  A: 

JavaScript the Good Parts by Douglas Crockford - great book for generally good practices when developing in JavaScript.

While you can mimic object oriented design in JavaScript you'll find that you'll be more productive adopting the idioms unique to the language which he covers in the book.

Paul Alexander
He also covers most of the content of this book in his talks available from YUI Theater: http://developer.yahoo.com/yui/theater/
Alex Mcp
DaveDev
+1  A: 

I read quite some books, and I simply loved:

Learning JQuery by PackT Publishers.

alt text

What you will learn from this book?

  • Use selectors to get anything you want from a page
  • Make things happen on your page with events
  • Add flair to your actions with animation effects
  • Change your page on command with DOM manipulation
  • Use AJAX to make your site buzzword compliant!
  • Transform drab, static information containers into beautiful, dynamic tables
  • Breathe new life into online forms
  • Create dynamic shufflers, rotators, and galleries
  • Get started with three official jQuery plug-ins, and even write your own
Sarfraz
+1  A: 

When I was learning jQuery and brushing up on my Javascript, I didn't see any books that looked like they'd combine the two well. What I did see was a lot of blog posts and articles, and those helped enormously. Here are a few ideas:

On OO JavaScript (not too hard to adapt with some ingenuity):

From a jQuery perspective, the plug-in authoring stuff seems to show both combined well:

justkt
+1  A: 

not a real answer, just a pointless observation,

well, some time ago i have started a 3d called "jQuery VS Prototype" quite for the same reason! where i was asking the major difference from theese two in a real RIA, since they are almost similar, so, my question was pointed to why some people say that jquery lack of "support" for classes and inheritance! so by googling around i have found theese two funny links above! ;-)

ah! obviously +1 for your question! ;-)

aSeptik
+1  A: 

This one is good and comes from jQuery's creator John Resig. You also have it on Google Books.

alt text

Sinan Y.