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

Foundation of real-time applications


We've understood what real-time data transfer is; now let's see what we need to make a real-time data transfer application There are some foundation steps we need to consider before starting any application. Some of the major steps are:

  • Selecting the functionality we need to make collaborative or real-time data transfer application

  • Selecting the server-side technology to make it possible

  • Selecting the client-side technology that integrates easily with the server

These three steps are the main points to keep in mind. As we know, HTML5 supports WebSockets and is one of the best ways of data comunication. Now for the server-side, we have seen how easily and seamlessly the Node.js server can be integrated. Now the most important part is which functionality we need to make real-time. This is based on the kind of application we are building. Next, keeping these points in mind, we will start building our application so that we understand it better.