views:

420

answers:

10

What is a good javascript (book or site) that is not just focused on syntax but does a good job explaining how javascript works behind the scenes? Thanks!

+1  A: 

Eloquent Javascript is a pretty great resource, and it also includes an in-browser environment to test out javascript.

Dan Monego
+1  A: 

I've always found the w3 schools site excellent for not just for javascript but css and much else web related too. Has a nice combination of quick syntax reference with example code and tutorials for more depth when required.

Cruachan
+6  A: 

The rhino book is an excellent book to have on your desk.

krosenvold
This is THE book. But be sure to get the most recent version (for what I hope are obvious reasons - it's a shape-shifting topic.)
le dorfier
+7  A: 

The JavaScript resources at the Mozilla Developer Center are pretty nice. They have a guide to JavaScript as well as a a reference.

The guide isn't really that great, but the reference is awesome. If I'm looking for something, I just use google with 'mdc' (or 'mdc javascript' in ambiguous cases) + keyword as search terms.


It might also be a good idea to read the 3 1/2 page long sections 4.2 and 4.3 of ECMA-262. Also, consider reading chapter 10.

Christoph
MDC really works good as a reference, have been using it for quite some time already. Can't imagine anything offline as a reference.
Rene Saarsoo
A: 

Eras ago, I used WebMonkey to edumacate me some. Nowadays I usually just Google around for specifics - most of it is just finding remembering syntax I find anyhow.

Eddie Parker
A: 

In order of precedence,

  1. Flanagan's Definitive Guide ("The Rhino Book", which I upvoted above), followed by
  2. anything written or googled for by Douglas Crockford.
  3. W3 stuff is great for their try-it-yourself sandboxes.
le dorfier
+1  A: 

Others have made some great suggestions (The Rhino Books, Mozilla Developer Center, and references such as W3 Schools). Once you get a good grasp on the language, I highly recommend JavaScript: The Good Parts by Douglas Crockford.

Tom
+1  A: 

I too wondered about good references on how (and more importantly, why) Javascript works behind the scenes. My question on the Stack has some good answers which I found helpful.

Alan
+4  A: 

If you don't want a book that starts with explaining JavaScript syntax, then:

Rene Saarsoo
A: 

crockford does a good job of explaining JS. check out the articles on his website and his new book:

oberhamsi