JavaScript: The Definitive Guide, Fifth Edition
  • Alternative view 1 of JavaScript: The Definitive Guide, Fifth Edition
  • Alternative view 2 of JavaScript: The Definitive Guide, Fifth Edition

JavaScript: The Definitive Guide, Fifth Edition

by David Flanagan
     
 

View All Available Formats & Editions

This Fifth Edition is completely revised and expanded to cover JavaScript as it is used in today's Web 2.0 applications. This book is both an example-driven programmer's guide and a keep-on-your-desk reference, with new chapters that explain everything you need to know to get the most out of JavaScript, including:

  • Scripted HTTP and Ajax
  • XML

Overview

This Fifth Edition is completely revised and expanded to cover JavaScript as it is used in today's Web 2.0 applications. This book is both an example-driven programmer's guide and a keep-on-your-desk reference, with new chapters that explain everything you need to know to get the most out of JavaScript, including:

  • Scripted HTTP and Ajax
  • XML processing
  • Client-side graphics using the canvas tag
  • Namespaces in JavaScript—essential when writing complex programs
  • Classes, closures, persistence, Flash, and JavaScript embedded in Java applications

Part I explains the core JavaScript language in detail. If you are new to JavaScript, it will teach you the language. If you are already a JavaScript programmer, Part I will sharpen your skills and 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 and deep coverage of client-side JavaScript is illustrated with many sophisticated examples that demonstrate how to:

  • Generate a table of contents for an HTML document
  • Display DHTML animations
  • Automate form validation
  • Draw dynamic pie charts
  • Make HTML elements draggable
  • Define keyboard shortcuts for web applications
  • Create Ajax-enabled tool tips
  • Use XPath and XSLT on XML documents loaded with Ajax
  • And much more

Part III is a complete reference for core JavaScript. It documents every class, object, constructor, method, function, property, and constant defined by JavaScript 1.5 and ECMAScript Version 3.

Part IV is a reference for client-side JavaScript, covering legacy web browser APIs, the standard Level 2 DOM API, and emerging standards such as the XMLHttpRequest object and the canvas tag.

More than 300,000 JavaScript programmers around the world have madethis their indispensable reference book for building JavaScript applications.

"A must-have reference for expert JavaScript programmers...well-organized and detailed."
— Brendan Eich, creator of JavaScript

Editorial Reviews

The Barnes & Noble Review
If you're among the thousands who've relied on JavaScript: The Definitive Guide, you already know how valuable it is, both as a tutorial and reference. You know David Flanagan writes with discipline and clarity; you know how thorough he is and how good his examples are. What you don't know is what's new in the Fifth Edition: even more than you expect.

To begin, there are nearly twice as many examples: from creating Ajax tooltips to querying Web services. There's an entire chapter on namespaces: crucial for creating today's more complex JavaScript programs. That's just one of several new chapters: on defining new classes; on scripting Java with JavaScript; on XML (especially the E4X extension); on scripting HTTP (for Ajax, of course); even on scripting Flash. The 300-page reference is as good as ever, but the rest of this 1,024-page book is even better. Bill Camarda, from the November 2006 Read Only

Product Details

ISBN-13:
9780596101992
Publisher:
O'Reilly Media, Incorporated
Publication date:
08/28/2006
Edition description:
Fifth Edition
Pages:
1032
Product dimensions:
6.95(w) x 9.27(h) x 2.04(d)

Meet the Author

David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include Java in a Nutshell, Java Examples in a Nutshell, Java Foundation Classes in a Nutshell, JavaScript: The Definitive Guide, and JavaScript Pocket Reference. David has a degree in computer science and engineering from the Massachusetts Institute of Technology. He lives with his wife and children in the U.S. Pacific Northwest bewteen the cities of Seattle, Washington and Vancouver, British Columbia. David has a blog at www.davidflanagan.com.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >