JavaScript

The Definitive Guide

 
4.5 based on 290 reviews.

Media:

Paperback Book, 1018 pages

Our Price:

$34.98

List Price:

$49.99

You Save:

$15.01 (30.03 %)

Product Description

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 made this 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

Product Details

  • Subtitle: The Definitive Guide
  • Media: Paperback Book, 1018 pages
  • Publisher: O'Reilly Media (August 17, 2006)
  • Edition: 5
  • ISBN-10: 0596101996
  • ISBN-13: 9780596101992
  • Dimensions: 7 x 9.2 x 2.2 inches
  • Shipping Weight: 3 lbs
  • Note: Some of this information came from Amazon.com

You're Getting a Fair Price on the Books You Want

Some customers tell us we're the best bookstore on the Web, but we're not the only one. We show you other bookstores' prices so you know you're getting a fair price. Amazon sells this book for $35.48 including shipping. Usually ships in 24 hours.

Customers who bought this item also bought

$14.98 used, $41.48 new

Dynamic HTML
Danny Goodman

Packed with information on the latest web specifications and...

$26.98 used, $34.98 new

HTML & XHTML
Chuck Musciano, Bill Kennedy, Musciano Chuck, Kennedy Bill

"...lucid, in-depth descriptions of the behavior of every...

$22.48 new

JavaScript
Douglas Crockford, Crockford Douglas

Most programming languages contain good and bad parts, but JavaSc...

Customer Reviews

  • Rating The Final Word (incl review of critics)  Sep 23, 2000 (201 of 221 found this helpful)

    As you may know, this book is considered THE Javascript book. What's makes the book worthwhile is it's fine discussion of Javascript's innerworkings. If you really want learn how Javascript's objects, functions, and data type handling work, then this is the book for you. The criticisms of this book fall into three catagories: 1) "Not for beginners". Yes, this book is not intended for people who have never studied object oriented programming. But that doesn't make it a 2 star book! Even beginners, if they are serious enough, will eventually need some clues about how Javascript really works. 2) "It's outdated". Again, yes; the reference section, and some of the browser dependant discussion is clearly outdated; BUT that still does not make this an outdated book! The author's in-depth explanation of Javascript innerworkings may never become outdated, and that alone is what makes this book worthwhile. 3) "Not enough examples". This is the only criticism that I

    actually agree with, and therefore the 4, instead of 5 stars. Not only can this book benefit from additional small examples, but the author's explanations are sometimes lacking, or even worse, missing. On a few examples, he basically says, "This is worthy of study. Go ahead and study it." Sorry, I expect more from my books, than a grumpy professor in a university lecture hall, nearing the end of class.

  • Rating Hard core Javascript theory.....at last.  Aug 24, 2000 (46 of 48 found this helpful)

    After trying to learn javascript from the visual series "javascript for the world wide web, 3rd ed" (and being thoroughly disappointed), I finally have found a book that describes the fundamentals of the javascript language in detail. This book explains from an academic perspective the rules, usage, and syntax of javascript. It leads the reader into the depths of how javascript implements an object-oriented paradigm without getting too esoteric. It can be difficult reading at times, but the true nature of javascript programming is not that of a simple little scripting language as some would have you believe. The coding examples could have been better, with more full-sized scripts showing the language in action instead of the numerous 1-4 line code snipets. The one big distraction I noticed was the seemingly constant references to netscape navigator, and all the bugs present in older versions of that browser. Unfortunately, this dated the book and tended to highlight a bias when the author would have been better off staying with the academic focus. Even still, the majority of the theory is unaffected by nav or ie, and the reference section is essential for any serious javascript developer. It is noted that this book was copyright 1998, so "cutting edge" javascript extensions will not be included, but the fundamental theory behind the language remains intact. With the combination of this book (theory and reference) and the visual series book (cutesy web page tricks), I can finally get on with the task of finishing my web site.

  • Rating The best Javascript reference  Apr 27, 2000 (95 of 105 found this helpful)

    This is the best Javascript reference available.

    The book is divided into three sections. The first covers "Core Javascript", defining the language itself with only occasional references to how you might use it in a browser. This initially seemed to me to be a roundabout way to approach the language--why wouldn't you want to explain it by examples in a web page? However, after becoming more familiar with the language I think it was absolutely the right decision, since it avoids confusing the document object model (see below for more about that) with the language itself, a confusion common among beginners.

    At the end of the first section (which developers experienced in other languages can skim, but shouldn't skip) you know what Javascript code looks like and how to do assignments, define functions, and so on. The second section, "Client-side Javascript", is where examples start to show up that you can really run in a test page of your own. The examples are good and there are plenty of them.

    The heart of the second section is the discussion of the document object model. After some introductory discussion, covering windows and frames and some of the more common Javascript tasks, there's an overview of the DOM. Subsequent chapters cover it in more detail. This organization makes it pretty easy to find what you need without even resorting to the index. For example, I find the forms chapter, and the chapter on how to use cookies to save state, to be very useful, and easy to find information in.

    Finally, there's a reference section at the back. This is the most valuable section once you're well on your way with the language, and is what I now use most of all. It's comprehensive and clearly written.

    The book does have one weakness, which has been noted by other reviewers here: it doesn't have a "cookbook" section, showing you how to do common tasks with Javascript. This is a serious omission because of the nature of Javascript usage. Very often a webmaster for a small non-profit or a small business will decide they want to do a rollover, or add an alert for form validation failures, or something similar. Users like this need something equivalent to the "Perl Cookbook"; a "How to . . ." section that gives you an example close to what you need.

    Despite this caveat, however, this is still the best book around: an excellent reference, and a great way to learn the language.

  • Rating Wow - THE best Javascript book available!  Aug 23, 1998 (87 of 96 found this helpful)

    I purchased the Netscape One Developer's Guide thinking it would provide answers to my Javascript questions - it answered very few, unfortunately. The 'Guide' doesn't begin to approach the ease of use, thoroughness or amount of information contained in "Javascript: The Definitive Guide". Javascript is as completely covered as it can be (with the free-flowing nature of WWW specifications, its hard to keep track of all the changes). I found the descriptions and examples informative, clear and concise and kinda fun sometimes. The layed back nature of the writing won't scare off novice coders/web developers and yet doesn't turn off more advanced developers. The book is cut in half - the first provides an introduction into Javascript and discusses its more important subjects while the second is a complete reference section for Javascript 1.2. It specifically treats the differences between Netscape and Internet Explorer whereas the Netscape One guide left that up to the reader to figure out - an oversight which relegates the Netscape One Developer's Handbook to the dusty bookshelf (way in the back). If you're doing web development and need to use Javascript - this is probably the only book you'll need. If you're doing web development and you're not using Javascript - you NEED this book - it will show you what you can do with simple client-side scripts.

  • Rating An excellent JavaScript reference!  Sep 28, 2000 (31 of 32 found this helpful)

    This is the book to get if you want a reference guide to JavaScript! The book starts by going through language syntax (complete beginners - take note!), then covers working with objects in detail. The book then puts it all into context by covering all aspects of working with browsers - specifically how to manage and manipulate page content and the browser window itself to enhance display (eg. rollovers) and add client-side functionality (eg. form validation).

    The next section covers the document object model (browser DOM), and for me this was the only disappointment in the book. While I found every other part of the book thorough and informative, I found the DOM chapter a bit light-on.

    However, this is easily compensated for with the excellent reference section at the back of the book which details each object, explains its purpose, and describes all of its properties and methods. The book is almost worth its price just for this reference, and I almost always turn to the back first!

    As a web developer / back-end programmer, this is one of four books I always keep with me! The other three are "HTML: The Difinitive Guide", "ASP in a nutshell" and an SQL reference.

Place Order



$34.98
(New, Paperback)

Already Own It?

We're paying $5.80 for this book and accepting donations to support non-profit literacy partners.

 
Family Literacy Special

Staff Picks

taff picks: New and used, from best-selling titles to best-kept secrets out of the corners of our warehouse, Better World employees share what’s on their night table. > View More Staff Picks (rss)

Christian's Pick

A Confederacy of Dunces
John Kennedy Toole

My “world-view” supports this as the funniest book I have ever read. The cover...