Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $16.99
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
5Activity
P. 1
Web Workers: Multithreaded Programs in JavaScript

Web Workers: Multithreaded Programs in JavaScript

Ratings: (0)|Views: 773 |Likes:

Web apps would run much better if heavy calculations could be performed in the background, rather than compete with the user interface. With this book, you’ll learn how to use Web Workers to run computationally intensive JavaScript code in a thread parallel to the UI. Yes, multi-threaded programing is complicated, but Web Workers provide a simple API that helps you be productive without the complex algorithms.

If you have an intermediate to advanced understanding of JavaScript—especially event handling and callbacks—you’re ready to tackle Web Workers with the tools in this example-driven guide.

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

Web apps would run much better if heavy calculations could be performed in the background, rather than compete with the user interface. With this book, you’ll learn how to use Web Workers to run computationally intensive JavaScript code in a thread parallel to the UI. Yes, multi-threaded programing is complicated, but Web Workers provide a simple API that helps you be productive without the complex algorithms.

If you have an intermediate to advanced understanding of JavaScript—especially event handling and callbacks—you’re ready to tackle Web Workers with the tools in this example-driven guide.

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

More info:

Publish date: May 24, 2012
Added to Scribd: May 29, 2012
Copyright:Traditional Copyright: All rights reservedISBN:9781449322113
List Price: $16.99 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
See more
See less

08/19/2014

60

9781449322113

$16.99

USD

pdf

You're Reading a Free Preview
Page 4 is not shown in this preview.
You're Reading a Free Preview
Pages 8 to 9 are not shown in this preview.
You're Reading a Free Preview
Pages 13 to 16 are not shown in this preview.
You're Reading a Free Preview
Pages 20 to 60 are not shown in this preview.

Activity (5)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Saurabh Kumar liked this
Hemn Ahmed liked this
Dan liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->