Async JavaScript
Enlarge cover
Rate this book
Clear rating

Async JavaScript

4.19 of 5 stars 4.19  ·  rating details  ·  62 ratings  ·  10 reviews
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...more
ebook, draft
Published March 21st 2012 by Leanpub (first published March 20th 2012)
more details... edit details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about Async JavaScript, please sign up.

Be the first to ask a question about Async JavaScript

This book is not yet featured on Listopia. Add this book to your favorite list »

Community Reviews

(showing 1-30 of 168)
filter  |  sort: default (?)  |  rating details
Jul 28, 2012 Brian rated it 4 of 5 stars
Recommends it for: (serious) JavaScript programmers
Recommended to Brian by: Dan
(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 amou...more
Brian Park
Jun 04, 2012 Brian Park rated it 5 of 5 stars
Recommends it for: javascript programmers
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 possibili...more
Eric Lin
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.
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 cov...more
Alessandro Pellizzari
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".
Philip Woods
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.
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.
Kevin Mcdermott
Small and light, enjoyable to read.

Maybe a little too light, this could've been two chapters in a bigger book...
Iurii Okhmat
Shallow, but interesting
Shashank Sharma
Shashank Sharma marked it as to-read
Aug 18, 2014
Christina marked it as to-read
Aug 02, 2014
Jeanette is currently reading it
Aug 23, 2014
Charles Tai
Charles Tai is currently reading it
Aug 02, 2014
George Wilkinson
George Wilkinson marked it as to-read
Aug 02, 2014 marked it as to-read
Jul 30, 2014
Matthew Olde
Matthew Olde marked it as to-read
Jul 28, 2014
Saulo Bruno
Saulo Bruno marked it as to-read
Jul 03, 2014
Kara added it
Jun 21, 2014
Debug marked it as to-read
Jun 04, 2014
Kien Nguyen
Kien Nguyen marked it as to-read
May 29, 2014
Albert Karamyan
Albert Karamyan marked it as to-read
May 26, 2014
Hugo Carlos
Hugo Carlos marked it as to-read
May 25, 2014
Beomno Joo
Beomno Joo marked it as to-read
May 21, 2014
« previous 1 3 4 5 6 next »
There are no discussion topics on this book yet. Be the first to start one »

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »
CoffeeScript ASYNC JavaScript: Build More Responsive Apps with Less Code

Share This Book