O'Reilly logo

Sams Teach Yourself HTML5 Mobile Application Development in 24 Hours by Jennifer Kyrnin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 19. WebSockets, Web Workers, and Files

What You’ll Learn in This Hour:

• How to use WebSockets to speed up web communication

• Why WebSockets aren’t fully supported

• How to thread JavaScript with Web Workers

• How to use the File API to connect web pages to user files

• How to build a drag-and-drop file upload tool

The WebSockets, Web Workers, and File APIs are useful additions to HTML5 because they give you resources such as asynchronous connections, as well as enable you to run scripts in the background and work with files in your web applications. These three APIs offer a lot of back-end functionality that most applications use.

This hour you’ll learn about what these three APIs do for web applications, some explanations of how to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required