Amazon.com Customer Reviews
A work of art - Review written on June 16, 2008
Rating: 5 out of 5
1 customer found this review helpful.
I feel that this book is really a work of art. Besides agreeing with the last reviewer that it is not fair to consider this as a book for beginners and then judge it against that standard, I'd say that even though it is not for beginners, it does not make unnecessary arcane references, etc. It is very readable, at least for someone who's had a little experience working with JavaScript. I'd say it is not even a requirement to know object oriented principles (except for those sections perhaps). The author has not only made intelligible so many of the quirks of JavaScript, but provides code which is easy to follow yet extremely useful.
As far as examples, while for JavaScript fans, it might have been nice that the book expanded into 2000 pages instead of almost 1000 that it is now, the author does, I feel, what is necessary to both explain and demonstrate the concepts, and most often, does so by creating VERY useful utility functions and "classes". Just for the utility functions alone, the book would be worth it, really. There are only a very few places where the author suggests to look elsewhere, and besides my not minding doing so given how the book already saved me so much time, the cited references would have taken up unnecessary space if the author were to include them (and they definitely weren't essential).
The book is not outdated! Unlike other books, most of the book is rarely tied down to code that can become outdated as browsers change (like the changeable but helpful quirksmode.org ). Of course, as a big fan of this book, I hope the author will be persuaded to keep making new editions (and make a hardcover!). If you really want to learn the language, this is THE book.
This book was no doubt an immense labor of love--you can feel the author is human, actually teaching, and is not trying to show off with terminology while he still does explain a whole lot of necessary terms, etc., comments the code well, etc. As with art (not the strange modern variety either), I am flabbergasted some people cannot appreciate its beauty. In a complex JavaScript application, I am building, I am using no less than 7 of the utility classes he provided in the book.
For those studying JavaScript in depth / reading this book, I'd recommend one supplement to the book: the informative articles at http://javascript.crockford.com/ (and no doubt that author's book too). The articles on private members and classical vs. prototypal inheritance are one area I felt for which additional examples and use of terminology was helpful, and allowed me to appreciate and understand the chapter in the book on classes more fully (and utilize the approaches in its utility classes as well).
Excellent book, complete and well written. - Review written on April 10, 2008
Rating: 5 out of 5
Authoritative, very well written, very well structured, complete, a pleasure to read.
The intricacies of Javascirpt are very well explained, it might not be an easy read for the average script kiddie but if you want a book that thoroughly describes the language and its browser integration, events, dom, css handling ... look no further.
An excellent cohesive reference, truly the definitive guide to JavaScript as we know it - Review written on February 29, 2008
Rating: 5 out of 5
2 customers found this review helpful.
This book is a fantastic reference. So many technical books typically live short lives, we use them once on a single project and never touch them again, however David Flanagan's JavaScript: The Definitive Guide has clear value and longevity.
This book provides 350+ pages of reference material for the Core JavaScript Language and Client-side JavaScript (the online Mozilla Developer Center is one of the few references that comes close to this level of comprehensive reference). In addition to these 350+ pages of reference material, there are 500+ pages of dialog that linearly walk us through the JavaScript fundamentals into more complex concepts. This books huge size (900+ pages) can be daunting, and is one definite drawback. Its sweeping breadth of topics (from JavaScript language operators to using Flash with JavaScript) can be both informative or confusing - reading JavaScript: The Good Parts (140+ pages) concurrently will certainly complement your understanding of JavaScript.
In short this book is the most complete references for JavaScript as we've come to know it, it covers JavaScript from A-Z, it's permeated with good advice - and for good reasons too, this is its 5th Edition, it has been recognized as one of the best books in JavaScript, and has been reviewed or edited by some of the JavaScript greats: Peter-Paul Koch (ppk on JavaScript), and Douglas Crockford (JavaScript: The Good Parts) to name a few.
I highly recommend this book, and am looking forward to Flanagan's newest book The Ruby Programming Language.
Good textbook, great reference - Review written on December 24, 2007
Rating: 4 out of 5
1 customer found this review helpful.
This refers to the 5th edition.
Ten years ago, JavaScript support was so different among various web browsers, I gave up trying to do any logical processing in JavaScript, and went into server-side programming.
Today, you still have to do a select few things two or three times in JavaScript to get them to work in all web browsers. But with much better standardization across browsers -- including broad support for Ajax, or remote scripting -- it's become worthwhile again to spend time on JavaScript development.
So, I took an online JavaScript class at the local community college. I bought this book as my reading text.
This "bible" of JavaScript skimps at times on simple examples, but provides several lengthy general-purpose code samples that show how to abstract out the client-specific or case-specific handling from an underlying set of routines.
Only the first part of this book is instructional. Then, there is the wonderful second half of the book, which is all reference. Divided into the core language reference and the client-side JavaScript reference, it's an essential quick lookup tool.
If you are new to JavaScript or (like me) brushing up on it after a long time away, choose this book as your in-depth background information and your ongoing reference text. Choose something like Dori Smith's JavaScript and Ajax for the Web, Sixth Edition (Visual QuickStart Guide) for your smaller, quick-start examples to play with.
Unfortunately, as long as browsers don't all support all the same JavaScript and CSS, there is still too much tedious hacking needed to provide a useful interface on the client side. Neither this book nor any other will get you past that little problem.
What more could you want? - Review written on October 31, 2007
Rating: 5 out of 5
11 customers found this review helpful.
I ordinarily like to say that JavaScript is the worst programming language known to man, but I just read "Programming in Lua" and don't think I can continue in this practice. Nevertheless, it's pretty bad. From its lack of anything remotely resembling an "include" statement to its closures-over-classes OOP implementation, there is nothing pleasant about working in JavaScript, and that's why we need this book--to explain all the bizarre, counterintuitive nuances of scope resolution, interpreter variations and whatever all else the Netscape crackheads who forced this travesty on the world came up with.
Some people seem to think that any book that has the word "JavaScript" in its title should be packed full of code they can simply copy and paste until they have a bangin' new social networking startup site that's going to revolutionize the way we think about horrible photography, and those people are the ones who are disappointed with what they got. While AJAX and DOM scripting are discussed at considerable length here, this is not a book about making flashy, annoying websites.