
Async JavaScript
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Cover
- Table of Contents
- Acknowledgments
- Introduction
- Trouble in Paradise
- Who Is This Book For?
- Resources for Learning JavaScript
- Where to Turn for Help?
- Running the Code Examples
- Code Style in This Book
- A Word on altJS
- Resources for This Book
- 1. Understanding JavaScript Events
- Scheduling Events
- Types of Async Functions
- Writing Async Functions
- Handling Async Errors
- Un-nesting Callbacks
- What We've Learned
- 2. Distributing Events
- PubSub
- Evented Models
- Custom jQuery Events
- What We've Learned
- 3. Promises and Deferreds
- A Very Brief History of Promises
- Making Promises
- Passing Data to Callbacks
- Progress Notifications
- Combining Promises
- Binding to the Future with pipe
- jQuery vs. Promises/A
- Replacing Callbacks with Promises
- What We've Learned
- 4. Flow Control with Async.js
- The Async Ordering Problem
- Async Collection Methods
- Organizing Tasks with Async.js
- Dynamic Async Queuing
- Minimalist Flow Control with Step
- What We've Learned
- 5. Multithreading with Workers
- Web Workers
- Node Workers with cluster
- What We've Learned
- 6. Async Script Loading
- Limitations and Caveats
- Reintroducing the &script& Tag
- Programmatic Loading
- What We've Learned
- A1. Tools for Taming JavaScript
- TameJS
- StratifiedJS
- Kaffeine
- Streamline.js
- Node-Fibers
- The Future of JavaScript: Generators
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.