JavaScript: The Definitive Guide, 5th Edition

JavaScript: The Definitive Guide, 5th Edition

作者:[美]DavidFlanagan

出版社:O'Reilly Media

出版年:2006-08-01

评分:9.0

ISBN:9780596101992

所属分类:行业好书

书刊介绍

内容简介

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 thetag

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

精彩摘录

随着time-sharing和基于文本的终端机的出现

——引自第245页


但要注意,Attr对象不出现在元素的childNodes[]数组中,不像Element和Text节点那样直接是文档树的一部分。DOM标准允许通过Node接口的attribute[]数组访问Attr节点。

——引自第314页

相关推荐

微信二维码