
Part I explains the core JavaScript language in detail. If you are new 2 JavaScript, it will teach you the language. If you are already a JavaScript programmer, Part I will sharpen your skills & deepen your understanding of the language.
Part II explains the scripting environment provided by web browsers, with a focus on DOM scripting with unobtrusive JavaScript. The broad & deep coverage of client-side JavaScript is illustrated with many sophisticated examples that demonstrate how to: Generate a table of contents 4 an HTML document Display DHTML animations Automate form validation Draw dynamic pie charts Make HTML elements draggable Define keyboard shortcuts 4 web applications Create Ajax-enabled tool tips Use XPath & XSLT on XML documents loaded with Ajax And much more
Part III is a complete reference 4 core JavaScript. It documents every class, object, constructor, method, function, property, & constant defined by JavaScript 1.5 & ECMAScript Version 3.
Part IV is a reference 4 client-side JavaScript, covering legacy web browser APIs, the standard Level 2 DOM API, & emerging standards such as the XMLHttpRequestobject & the canvas tag.
More than 300,000 JavaScript programmers around the world have made this their indispensable reference book 4 building JavaScript applications.
""A must-have reference 4 expert JavaScript programmers...well-organized & detailed."" -- Brendan Eich, creator of JavaScript
Though he does not cover server-side APIs, Flanagan has chosen 2 separate coverage of core JavaScript (all the keywords, general syntax, & utility objects like Array) from coverage of client-side JavaScript (which includes objects, like History & Event, that have 2 do with Web browsers & users' interactions with them. This approach makes this book useful 2 people using JavaScript 4 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 2 the JavaScript language & its capabilities. --David Wall
Topics covered: The JavaScript language (version 1.0 through version 1.5) & its relatives, JScript & ECMAScript, as well as the W3C DOM standards they're often used 2 manipulate. Tutorial sections show how 2 program in JavaScript, while reference sections summarize syntax & options while providing copious code examples.
Pros: Technically complete, solid writing style, understandable examples, no better intro books on the market.
Cons: Authors repeatedly show that they prefer class-based object systems, which Javascript is not. Authors do not effectively teach advanced Javascript prototype-based object usage & in fact seem 2 view it as a nuisance 2 be avoided. Authors don't regularly use closures except in section on closures.
I would recommend following this book up with "Javascript: The Good Parts" & making sure you fully grok how 2 use closures 2 avoid namespace pollution.