Web Workers: Multithreaded Programs in JavaScript

PDF
- eBook:Web Workers: Multithreaded Programs in jаvascript
- Author:Ido Green
- Edition:1 edition
- Categories:
- Data:June 8, 2012
- ISBN:1449322131
- ISBN-13:9781449322137
- Language:English
- Pages:62 pages
- Format:PDF
If you have an intermediate to advanced understanding of jаvascript—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
-
Content
2. How and Where Can We Use Web Workers?
3. Dedicated Workers
4. Inline Workers
5. Shared Workers
6. Debug Your Workers
7. Web Workers Beyond the Browser: Node
Free sample
-