What do you think?


Async JavaScript
JavaScript is a single-threaded language living in a multimedia, multi-tasking, multi-core world. Even experienced JavaScripters sometimes find themselves overwhelmed as complex apps grow into a tangled web of callbacks.
With Async JavaScript, you'll learn about:
Event scheduling
The PubSub pattern
Promises and Deferred objects
Flow control with Async.js
Recipes for common async scenarios
Multi-threading with Web Workers
AltJS languages
and more, with examples tailored to jQuery and Node.js.
With Async JavaScript, you'll learn about:
Event scheduling
The PubSub pattern
Promises and Deferred objects
Flow control with Async.js
Recipes for common async scenarios
Multi-threading with Web Workers
AltJS languages
and more, with examples tailored to jQuery and Node.js.
76 pages, Paperback
First published March 20, 2012
Ratings & Reviews
Friends & Following
Create a free account to discover what your friends think of this book!
Community Reviews
Displaying 1 - 21 of 21 reviews
July 26, 2012
(4.0) Very narrowly focused, but good for it, and very informative
Burnham just bites off one piece of JavaScript programming that commonly leads us to write horrible, horrible code...yet is also one of the greatest assets of the language: asynchronicity without concurrency. So a very well chosen topic, and he develops it well. I learned a lot from this, usually something new on each page. He could develop a few of his examples more (or rather, explain them more thoroughly): there was a fair amount of figuring-it-out to do on your own. Also liked some of his wackier cultural references (e.g. "Bo Knows" manages to come up in a book published in the 2010s? Nutty!).
Highly recommended once you've done some legitimate programming in JavaScript. Good litmus test is whether you've found yourself nesting callbacks two levels deep. If you haven't and you've just been doing easy Ajax stuff in jQuery, you're not going to need this (yet).
Burnham just bites off one piece of JavaScript programming that commonly leads us to write horrible, horrible code...yet is also one of the greatest assets of the language: asynchronicity without concurrency. So a very well chosen topic, and he develops it well. I learned a lot from this, usually something new on each page. He could develop a few of his examples more (or rather, explain them more thoroughly): there was a fair amount of figuring-it-out to do on your own. Also liked some of his wackier cultural references (e.g. "Bo Knows" manages to come up in a book published in the 2010s? Nutty!).
Highly recommended once you've done some legitimate programming in JavaScript. Good litmus test is whether you've found yourself nesting callbacks two levels deep. If you haven't and you've just been doing easy Ajax stuff in jQuery, you're not going to need this (yet).
June 5, 2012
It was a relatively short book and it reads easy. The author starts by explaining how asynchronous javascript works. Throughout the book, he writes about various techniques (e.g. how to use promises/deferreds, flow control with async.js, web workers, etc.) on async programming in javascript. My previous perception on async programming that it makes code ugly (i.e. too many nesting) is gone now. It will take time to get used to this style of programming, but it opened my eyes on another possibility.
October 25, 2012
Enlightening.
April 27, 2014
ASYNC JavaScript: Build More Responsive Apps with Less Code is a great, must-read book for everyone coping with JavaScript. It is on the same shelf with JavaScript: The Good Parts by Douglas Crockford and JavaScript Patterns by Stoyan Stefanov
June 28, 2012
I agree with Brian Park's review. Yes, it will take time to get used to this style of programming. The reward is that the techniques introduced in this book will allow for simpler (and yet much more powerful), scalable use of the JavaScript language. Thanks much to Trevor Burnham for this timely work.
July 10, 2012
Excellent resource for cutting-edge JavaScript. Lots of up-to-date information on important patterns and libraries we could (and should!) be using. Focuses on various asynchronous patterns, including events, promises, and web workers. Absolutely recommended as the next "must-read" JavaScript book for those doing advanced work.
February 15, 2013
(4.5) The pragprog edition is much improved!
Really like the introductory sections that really dive into JS event queuing, and improved all around. Strongly recommend this for anyone doing real JS development beyond 3-liner jQuery click-handling.
Worth re-reading even if you read the original edition!
Really like the introductory sections that really dive into JS event queuing, and improved all around. Strongly recommend this for anyone doing real JS development beyond 3-liner jQuery click-handling.
Worth re-reading even if you read the original edition!
May 11, 2017
Concise and compact book with focus on its topic. Thanks to it I have a better understanding of "no interrupt" model of single threaded javascript.
Though I didn't comprehend distributed event and promise chapter fully (not a native jquery user) I did manage to introduce myself to few interesting topics:
async.queue(), web workers/cluster, async script loading and taming js into a sync language such as python using library like TameJS.
Though I didn't comprehend distributed event and promise chapter fully (not a native jquery user) I did manage to introduce myself to few interesting topics:
async.queue(), web workers/cluster, async script loading and taming js into a sync language such as python using library like TameJS.
February 17, 2020
Could not complete it as I felt it is very outdated compared to the present style of writing code, it was published in 2012, maybe it would have been useful 2-3 years ago but not now.
January 2, 2013
Just read the updated edition, even better than the first! Chapters 1 and 6 seem like mostly new material, and Chapter 1 does a great job of setting up how events work in JavaScript in general, and filled in some holes in my knowledge.
Still one of my favorite and most up-to-date JS books, and I recommend everyone read it, and if you read the old edition, read the new chapters!
(I did read the new paperback edition, sorry I am lazy and did not create a new edition for it, though it shares this cover...)
Still one of my favorite and most up-to-date JS books, and I recommend everyone read it, and if you read the old edition, read the new chapters!
(I did read the new paperback edition, sorry I am lazy and did not create a new edition for it, though it shares this cover...)
January 10, 2013
Potrebbe essere il riferimento definitivo alla programmazione asincrona in Javascript. Purtroppo l'argomento è abbastanza complesso, e, pur elencando i vari sistemi utilizzabili sia lato server (Node) che lato client (Worker), non li approfondisce abbastanza da renderli utilizzabili.
La mancanza cronica di esempi pratici non aiuta la comprensione. Gli esempi di codice presenti si limitano a "ecco, se fate così, la sequenza di esecuzione è questa".
La mancanza cronica di esempi pratici non aiuta la comprensione. Gli esempi di codice presenti si limitano a "ecco, se fate così, la sequenza di esecuzione è questa".
March 13, 2013
It is a short but relatively informative introduction to asynchronous JavaScript. It covers JavaScript's single-threaded event model, what a "PubSub" is and how to roll your own, good patterns for writing asynchronous error handlers, handling flow control with Async.js, using Web Workers, and asynchronous script-loading with Require.js. It is less than 100 pages, packed with content and covers its promised topic well.
September 5, 2014
A good practical book for anyone taming the asynchronous nature of Javascript. It could be read in a few days, but the concepts it teaches you are invaluable.
May be it's a bit outdated and it makes a lot of accents on Backbone and Node.
I've enjoyed reading it, the book is written nicely and it's simple to read.
May be it's a bit outdated and it makes a lot of accents on Backbone and Node.
I've enjoyed reading it, the book is written nicely and it's simple to read.
December 10, 2012
Provides a relatively short, yet comprehensive overview of the current state of the async operations in JavaScript. It can be useful to ActionScript developers too, as the ECMAScript family shares very similar issues.
I wish there were a few more examples in this book.
I wish there were a few more examples in this book.
April 11, 2014
Excellent discussion of JavaScript's async mechanisms. The chapter on Promises alone is worth the read! More detailed review: http://weblog.west-wind.com/posts/201...
July 15, 2014
For someone coming to (modern?) browser JavaScript and Node.js from server-side languages like Ruby and Python, this is an amazing introduction to the async libraries out there and the application design patterns associated with them.
February 3, 2013
Good info on events and how to try to avoid too much callback mess in JavaScript. I like that it is quite detailed on events.
February 14, 2013
Shallow, but interesting
Read
March 11, 2013Small and light, enjoyable to read.
Maybe a little too light, this could've been two chapters in a bigger book...
Maybe a little too light, this could've been two chapters in a bigger book...
September 28, 2014
This book is a must-read
September 15, 2015
I think there is only one book for async javascript and it's this one, and I found it very useful even if it's 3 years old.
Displaying 1 - 21 of 21 reviews

















