JavaScript: The Definitive Guide

by O'Reilly Media, Inc.

$44.95
67% off
buy from amazon.com
Average Rating: * * * * half star
Sales Rank:85727 (lower is better)
Price as of:06/30/2008 12:12:11 AM MDT
Price Used:$6.93
Shipping:Free Shipping on most orders over $25*
Availability:Usually ships in 24 hours
Label:O'Reilly Media, Inc.
Pages:900
Binding:Paperback
Publication Date:2001-12-15
Published By:O'Reilly Media, Inc.
ASIN:0596000480
Category:Book

Authors

Editorial Reviews and Product Descriptions

Product Description

JavaScript is a powerful, object-based scripting language; JavaScript programs can be embedded directly in HTML web pages. When combined with the Document Object Model (DOM) defined by a web browser, JavaScript allows you to create Dynamic HTML content and interactive client-side web applications. JavaScript syntax is based on the popular programming languages C, C++, and Java, which makes it familiar and easy to learn for experienced programmers. At the same time, JavaScript is an interpreted scripting language, providing a flexible, forgiving programming environment in which new programmers can learn. JavaScript: The Definitive Guide provides a thorough description of the core JavaScript language and both the legacy and standard DOMs implemented in web browsers. The book includes sophisticated examples that show you how to handle common tasks, like validating form data, working with cookies, and creating portable DHTML animations. The book also contains detailed reference sections that cover the core JavaScript API, the legacy client-side API, and the W3C standard DOM API, documenting every JavaScript object, method, property, constructor, constant, function, and event handler in those APIs. This fourth edition of the bestselling JavaScript book has been carefully updated to cover JavaScript 1.5 (ECMAScript version 3). The book also provides complete coverage of the W3C DOM standard (Level 1 and Level 2), while retaining material on the legacy Level 0 DOM for backward compatibility. JavaScript: The Definitive Guide is a complete programmer's guide and reference manual for JavaScript. It is particularly useful for developers working with the latest standards-compliant web browsers, like Internet Explorer 6, Netscape 6, and Mozilla. HTML authors can learn how to use JavaScript to build dynamic web pages. Experienced programmers can quickly find the information they need to start writing sophisticated JavaScript programs. This book is an indispensable reference for all JavaScript programmers, regardless of experience level.
Amazon.com

Since the earliest days of Internet scripting, Web developers have considered JavaScript: The Definitive Guide an essential resource. David Flanagan's approach, which combines tutorials and examples with easy-to-use syntax guides and object references, suits the typical programmer's requirements nicely. The brand-new fourth edition of Flanagan's "Rhino Book" includes coverage of JavaScript 1.5, JScript 5.5, ECMAScript 3, and the Document Object Model (DOM) Level 2 standard from the World Wide Web Consortium (W3C). Interestingly, the author has shifted away from specifying--as he did in earlier editions--what browsers support each bit of the language. Rather than say Netscape 3.0 supports the Image object while Internet Explorer 3.0 does not, he specifies that JavaScript 1.1 and JScript 3.0 support Image. More usefully, he specifies the contents of independent standards like ECMAScript, which encourages scripters to write applications for these standards and browser vendors to support them. As Flanagan says, JavaScript and its related subjects are very complex in their pure forms. It's impossible to keep track of the differences among half a dozen vendors' generally similar implementations. Nonetheless, a lot of examples make reference to specific browsers' capabilities.

Though he does not cover server-side APIs, Flanagan has chosen to separate coverage of core JavaScript (all the keywords, general syntax, and utility objects like Array) from coverage of client-side JavaScript (which includes objects, like History and Event, that have to do with Web browsers and users' interactions with them. This approach makes this book useful to people using JavaScript for applications other than Web pages. By the way, the other classic JavaScript text--Danny Goodman's JavaScript Bible--isn't as current as this book, but it's still a fantastic (and perhaps somewhat more novice-friendly) guide to the JavaScript language and its capabilities. --David Wall

Topics covered: The JavaScript language (version 1.0 through version 1.5) and its relatives, JScript and ECMAScript, as well as the W3C DOM standards they're often used to manipulate. Tutorial sections show how to program in JavaScript, while reference sections summarize syntax and options while providing copious code examples.

Customer Reviews

The Best JavaScript Book - Reviewed on 2008-06-24
* * * * *

This book not only assists first-time JavaScript programmers, but is an excellent reference for the more experienced developers. The examples are first-rate, and the reference sections are more comprehensive than any I've seen for this language. A MUST if you are a serious JavaScript professional.
A work of art - Reviewed on 2008-06-16
* * * * *

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).
The Best book of reference for a beginner - Reviewed on 2008-06-16
* * * *

I bought this book after the helpful reviews found on amazon. This book is must have for reference, I've been using this for the past one month and its been great reference for me, a beginner.
Good reference, not suited as introduction - Reviewed on 2008-06-14
* * *

This work is great as reference once one has acquired some skill, however it is not a good introduction for starters.
Great guide and reference - Reviewed on 2008-05-29
* * * *

This book is perfect for anyone working on Web sites and uses JavaScript. From learning JavaScript to finding "recipes" on doing work, this book has it all. I cut a project from 10 hours to 1 hour with this book's help.
Read More Customer Reviews »
Go To Amazon Product Page

* - See Amazon Product Page for shipping and pricing details.


Book Subjects