Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Async JavaScript
Table of Contents
Early Praise for Async JavaScript
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
Chapter 1: Understanding JavaScript Events
1.1 Scheduling Events
1.2 Types of Async Functions
1.3 Writing Async Functions
1.4 Handling Async Errors
1.5 Un-nesting Callbacks
1.6 What We’ve Learned
Chapter 2: Distributing Events
2.1 PubSub
2.2 Evented Models
2.3 Custom jQuery Events
2.4 What We’ve Learned
Chapter 3: Promises and Deferreds
3.1 A Very Brief History of Promises
3.2 Making Promises
3.3 Passing Data to Callbacks
3.4 Progress Notifications
3.5 Combining Promises
3.6 Binding to the Future with pipe
3.7 jQuery vs. Promises/A
3.8 Replacing Callbacks with Promises
3.9 What We’ve Learned
Chapter 4: Flow Control with Async.js
4.1 The Async Ordering Problem
4.2 Async Collection Methods
4.3 Organizing Tasks with Async.js
4.4 Dynamic Async Queuing
4.5 Minimalist Flow Control with Step
4.6 What We’ve Learned
Chapter 5: Multithreading with Workers
5.1 Web Workers
5.2 Node Workers with cluster
5.3 What We’ve Learned
Chapter 6: Async Script Loading
6.1 Limitations and Caveats
6.2 Reintroducing the < script > Tag
6.3 Programmatic Loading
6.4 What We’ve Learned
Appendix 1: Tools for Taming JavaScript
A1.1 TameJS
A1.2 StratifiedJS
A1.3 Kaffeine
A1.4 Streamline.js
A1.5 Node-Fibers
A1.6 The Future of JavaScript: Generators
← Prev
Back
Next →
← Prev
Back
Next →