Javascript Promises - Control your asynchronicity
Still using callbacks to manage your asynchronous workflow in Javascript? As ES6 Harmony nears release, it's time to add Promises to your Javascript toolbox. Promises provide a more manageable layer over your asynchronous workflow, allowing you to avoid those callback-within-a-callback layers known as 'callback hell'. We'll use the Bluebird.js library to cover multiple Promise patterns, and cover how to Promisify existing callback-based libraries into Promise-driven luxuries. Ready yourself for the native Promise functions coming soon in Javascript ES6!
About Matthew Eash
Matthew Eash is an enterprise architect, lead developer, and data guru. He is currently heading up multiple data and visualization initiatives for a national research lab.