CONTENTS

Chapter 1: What is Javascript?

A Short History

JavaScript Implementations

JavaScript Versions

Summary

Chapter 2: Javascript in Html

The <script> Element

Inline Code versus External Files

Document Modes

The <noscript> Element

Summary

Chapter 3: Language Basics

Syntax

Keywords and Reserved Words

Variables

Data Types

Operators

Statements

Functions

Summary

Chapter 4: Variables, Scope, and Memory

Primitive and Reference Values

Execution Context and Scope

Garbage Collection

Summary

Chapter 5: Reference Types

The Object Type

The Array Type

The Date Type

The RegExp Type

The Function Type

Primitive Wrapper Types

Singleton Built-in Objects

Summary

Chapter 6: Object-Oriented Programming

Understanding Objects

Object Creation

Inheritance

Summary

Chapter 7: Function Expressions

Recursion

Closures

Mimicking Block Scope

Private Variables

Summary

Chapter 8: The Browser Object Model

The window Object

The location Object

The Navigator Object

The screen Object

The history Object

Summary

Chapter 9: Client Detection

Capability Detection

Quirks Detection

User-Agent Detection

Summary

Chapter 10: The Document Object Model

Hierarchy of Nodes

Working with the DOM

Summary

Chapter 11: Dom Extensions

Selectors API

Element Traversal

HTML5

Proprietary Extensions

Summary

Chapter 12: Dom Levels 2 and 3

DOM Changes

Styles

Traversals

Ranges

Summary

Chapter 13: Events

Event Flow

Event Handlers

The Event Object

Event Types

Memory and Performance

Simulating Events

Summary

Chapter 14: Scripting Forms

Form Basics

Scripting Text Boxes

Scripting Select Boxes

Form Serialization

Rich Text Editing

Summary

Chapter 15: Graphics With Canvas

Basic Usage

The 2D Context

WebGL

Summary

Chapter 16: Html5 Scripting

Cross-Document Messaging

Native Drag and Drop

Media Elements

History State Management

Summary

Chapter 17: Error Handling and Debugging

Browser Error Reporting

Error Handling

Debugging Techniques

Common Internet Explorer Errors

Summary

Chapter 18: Xml in Javascript

XML DOM Support in Browsers

XPath Support in Browsers

XSLT Support in Browsers

Summary

Chapter 19: Ecmascript For Xml

E4X Types

General Usage

Other Changes

Enabling Full E4X

Summary

Chapter 20: JSON

Syntax

Parsing and Serialization

Summary

Chapter 21: Ajax and Comet

The XMLHttpRequest Object

XMLHttpRequest Level 2

Progress Events

Cross-Origin Resource Sharing

Alternate Cross-Domain Techniques

Security

Summary

Chapter 22: Advanced Techniques

Advanced Functions

Tamper-Proof Objects

Advanced Timers

Custom Events

Drag and Drop

Summary

Chapter 23: Offline Applications and Client-Side Storage

Offline Detection

Application Cache

Data Storage

Summary

Chapter 24: Best Practices

Maintainability

Performance

Deployment

Summary

Chapter 25: Emerging APIS

RequestAnimationFrame()

Page Visibility API

Geolocation API

File API

Web Timing

Web Workers

Summary

Appendix A: Ecmascript Harmony

General Changes

Functions

Arrays and Other Structures

New Object Types

Classes

Modules

Appendix B: Strict Mode

Opting-in

Variables

Objects

Functions

eval()

eval and arguments

Coercion of this

Other Changes

Appendix C: Javascript Libraries

General Libraries

Internet Applications

Animation and Effects

Cryptography

Appendix D: Javascript TOOLS

Validators

Minifiers

Unit Testing

Documentation Generators

Secure Execution Environments

Introduction

Advertisements

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.186.46