04.11.2015 Views

javascript

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction<br />

Chapter 16, ECMAScript for XML — Discusses the ECMAScript for XML (E4X) extension to<br />

JavaScript, which is designed to simplify working with XML. This chapter explains the advantages of<br />

E4X over using the DOM for XML manipulation.<br />

Chapter 17, Ajax and JSON — Looks at common Ajax techniques, including the use of the<br />

XMLHttpRequest object and Internet Explorer ’ s XDomainRequest object for cross - domain Ajax. This<br />

chapter explains the differences in browser implementations and support as well as recommendations<br />

for usage.<br />

Chapter 18, Advanced Techniques — Dives into some of the more complex JavaScript patterns,<br />

including function currying, partial function application, and dynamic functions. This chapter also<br />

covers creating a custom event framework to enable simple event support for custom objects.<br />

Chapter 19, Client - Side Storage — Discusses the various techniques for storing data on the client<br />

machine. This chapter begins with a discussion of the most commonly supported feature, cookies, and<br />

then discusses newer functionality such as DOM storage.<br />

Chapter 20, Best Practices — Explores approaches to working with JavaScript in an enterprise<br />

environment. Techniques for better maintainability are discussed, including coding techniques,<br />

formatting, and general programming practices. Execution performance is discussed and several<br />

techniques for speed optimization are introduced. Last, deployment issues are discussed, including<br />

how to create a build process.<br />

Chapter 21, Upcoming APIs — Introduces APIs being created to augment JavaScript in the browser.<br />

Even though these APIs aren ’ t yet complete or fully implemented, they are on the horizon and<br />

browsers have already begun partially implementing their features. This chapter includes discussions<br />

on the Selectors API and HTML 5.<br />

Chapter 22, The Evolution of JavaScript — Looks into the future of JavaScript to see where the<br />

language is headed. ECMAScript 3.1, ECMAScript 4, and ECMAScript Harmony are discussed.<br />

Conventions<br />

To help you get the most from the text and keep track of what ’ s happening, a number of conventions are<br />

used throughout this book.<br />

Boxes like this one hold important, not - to - be forgotten information that is directly<br />

relevant to the surrounding text.<br />

Notes, tips, hints, tricks, and asides to the current discussion are offset and placed in italics like this.<br />

As for styles in the text:<br />

❑<br />

❑<br />

❑<br />

N ew terms and important words are italicized when they’re introduced.<br />

K eyboard combinations are shown like this: Ctrl+A.<br />

F ile names, URLs, and code within the text look like this: persistence.properties .<br />

xxxii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!