JavaScript: The Definitive Guide: The Definitive Guide

Front Cover
"O'Reilly Media, Inc.", Aug 17, 2006 - Computers - 1032 pages

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

 

What people are saying - Write a review

User ratings

5 stars
27
4 stars
17
3 stars
7
2 stars
3
1 star
1

User Review - Flag as inappropriate

Details, details, details...that's how I would describe this book. And let me add, devil is in the details.
Flanagan has a good way of explaining things. However, all the explanations may become a
little too overwhelming for a starter. So I would choose a simple book first to start, then go to this books as I mature. 

User Review - Flag as inappropriate

This bok is really cool for a JS developer.
--
Karthikeyan NG
www.intrepidkarthi.com 

All 6 reviews »

Contents

Scripting Browser Windows
Scripting Documents
Cascading Style Sheets and Dynamic HTML
Events and Event Handling
Forms and Form Elements
Cookies and ClientSide Persistence
Scripting HTTP
JavaScript and XML

Objects and Arrays
Functions
Classes Constructors and Prototypes
Modules and Namespaces
Pattern Matching with Regular Expressions
Scripting Java
Part II
JavaScript in Web Browsers
Scripted ClientSide Graphics
Scripting Java Applets and Flash Movies
Part III
Core JavaScript Reference
Part IV
ClientSide JavaScript Reference
Index
Copyright

Other editions - View all

Common terms and phrases