Awesome
This repo contains the slides and examples covered in the Async talk (9 February, 2012) about JavaScript promises.
The examples relate closely to the wrappers found in jQuery.promises scripts.
Promise libraries
- jQuery.promises (A collection of little scripts that use jQuery.Deferred for cleaner, encapsulated flow control. Feature an Image and Timer wrapper.)
- q (Promise library for JavaScript)
- q with jQuery (Using q and jQuery together)
- when.js (Another promise JavaScript library)
- node-promise (Promise library for Node)
- futures (Flow control library which offers promise functionality)
- promise.io (Notable for file I/O)
- jQuery (jQuery's standard methods like Ajax return a promise)
Reading material
- Digging into Deferred by Addy Osmani (Short video)
- Creating Responsive Applications Using jQuery Deferred and Promises by Julian Aubourg, Addy Osmani
- Always keep your jQuery promises by Ryan M Wright
- jQuery promises by Taraxe
- Promises A (The commonjs proposal for promises)
Credits
- by Premasagar Rose (Dharmafly)
- and Aaron Acerboni (Halfmelt)