Book Image

Websocket Essentials: Building apps with HTML5 websockets

By : Varun Chopra
Book Image

Websocket Essentials: Building apps with HTML5 websockets

By: Varun Chopra

Overview of this book

Table of Contents (13 chapters)
WebSocket Essentials – Building Apps with HTML5 WebSockets
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
6
Enhancing HTML5 Web Application Development Using Modern Tools
Index

Mobile devices and the WebSocket


The whole world is moving to mobile devices; then why shouldn't we? Mobiles have become very powerful and they can do what a computer can do. Similarly, browsers have become very powerful and they have also started adopting HTML5. Not only browsers, even application support has increased. Lots of applications are available with lots of features. And here, WebSockets plays an important role: whenever there is a need for real-time data transfer, WebSockets are there to help us out. Let's see a few instances where WebSockets can be helpful:

  • Chatting applications

  • Video conferencing

  • Gaming

  • Dashboard with real-time data update

  • Stock application

  • Sports score applications

  • Real-time data updates

Now all these applications can be made on the Web and the same is compatible with browsers, thanks to modern browsers that support HTML5.

To implement WebSockets on mobile, there are some libraries available that can be used. The need is to provide a consistent way of implementing...