Join Bill Weinman for an in-depth discussion in this video Deploying a worker, part of HTML5: Background Processes with Web Workers.
This is a simple example of an application that uses a web worker to calculate a…series of prime numbers.…This is running on my server. Of course, you will be running it on your own…server, or you can set up a server on your local machine using something like XAMPP.…The way this works is once you press the Start button a signal was sent to a…worker that starts a timer and calculates a series of prime numbers fifteen times per…second to match the speed of these videos.…So, if I press the Start button, we see that it starts calculating prime numbers.…
- Deploying a worker
- Detecting browser support
- Communicating with workers
- Understanding API differences in shared workers