Start creating Web Workers and understand what they can and can’t do
Determine which browser versions support the API
Use dedicated Web Workers for tasks that consume a lot of CPU, such as data parsing
Explore use cases for creating inline Workers, such as encapsulating a web app in one page
Create a shared Worker to communicate multiple web app instances to the server, and other uses
Learn best practices for debugging Web Workers
Apply Web Workers within the server-side Node environment
Another reason that the book is quite short is that it covers a pretty basic topic, but I would feel more comfortable keeping my copy as a technical reference. There are a few caveats, as with any free and open technology, it seems that data intensive threads or working on inter-thread tasks may be a bit tricky if not downright impossible, and the book does seem to take this fact lying down, but I suppose it's better than trying a neat hack that will be patched in newer browser versions.
One thing that really struck me with the book was the encyclopedic format, with Author Green, typically providing concise explanations, followed by demonstrations of the features in action, with relevant code examples. This did remind me of a blogging or online tutorial pro-forma. Also following the wonder that is GitHub, Sample code has it's very own Github repo, as mentioned in the final chapter and don't expect to touch the DOM with this web-worker magic.
In short Web-workers is a very good read, and I would say that for the developer that doesn't have much time, that wants to brush-up on their skills or learn about an entirely new topic web-workers is a really good way to bring yourself up to speed. My only concern is the immaturity of the technology, and if that were legitimate we'd all be running around in msdos. If you need more info I thoroughly recommend the book, you wont be disappointed.
For more information on this book
Buy it on Amazon.com Get the book directly from O'Reilly.
Note that there is also a kindle version available, if that lights your fire (no pun intended… okay maybe that's a lie)
Disclosure: This book was received as a part of the O'Reilly Blogger Review Programme
Bottom Line Yes, I would recommend this to a friend
"Web Workers" covers some important material with regards to the HTML 5 Worker API and its effective use.
But, if you want to learn about concepts related to this topic I would suggest finding another book. This one has very long examples that due to that length lose the point that is trying to be shown.
There is no treatment for how to make use of this in the real browser space. I think that coverage of how to gracefully (or awkwardly even) ensure that your processes will run when Worker is not available.
While covering this sort of material it would also be a good time to mention best use of setImmediate and requestAnimationFrame which are related concepts.
Bottom Line No, I would not recommend this to a friend