Async JavaScriptTrevor Burnham
Async JavaScript
by Trevor Burnham · first published 2012
2mentions
2recommended by
2HN commenters
2013first – last mentioned
100% recommend
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
Regarding #2, I highly recommend reading Trevor Burnham's excellent book Async JavaScript. It goes into a great deal of detail explaining how async operations work, and ways of dealing with them.
on “Common JavaScript Gotchas” ↗…arbitrary groupings of those ajax calls (callback1 runs when ajax1 and ajax2 are done, but callback2 runs when ajax1 and ajax3 are done). I first learned about promises in Trevor Burnham's excellent book Async Javascript (http://pragprog.com/book/tbajs/async-javascript) and it is still the best explanation of promises I've ever read. If you like this article and are interested in reading further about promises or the…
on “Escape from Callback Hell” ↗