Socket.IO Real-time Web Application Development

Build modern real-time web applications powered by Socket.IO

Häftad, Engelska, 2013

Av Rohit Rai

339 kr

Beställningsvara. Skickas inom 5-8 vardagar
Fri frakt för medlemmar vid köp för minst 249 kr.

Build modern real-time web applications powered by Socket.IOKey FeaturesUnderstand the usage of various socket.io features like rooms, namespaces, and sessionsSecure the socket.io communicationDeploy and scale your socket.io and Node.js applications in productionA practical guide that quickly gets you up and running with socket.ioBook DescriptionThe expectations of users for interactivity withweb applications have changed over the past few years. No more does the user want to press the refresh button to check if new messages have arrived in their inbox; people expect to see updates in their applications in real-time. Mass multiplayer online games have given up the requirement of plugins and are built entirely in JavaScript. Socket.io enables you to build these highly interactive applications that work cross-browser."Socket.io Real-time Web Application Development" is a guide to building, deploying, and scaling highly interactive real-time web applications using socket.io. This book will guide you through the building of a chat system using Node.js and socket.io, helping you get familiar with various features of the framework. Going further it will empower you to deploy and scale your applications in production.Introducing web application development with Node.js, this book walks you through developing of a full-fledged chat system built with socket.io and introducing all the concepts of socket.io and its usage in the process.It introduces you to the different approaches of bidirectional communication between the browser and the web server and will show you how socket.io abstracts all this for you to provide a single unified and uniform API for messaging and eventing to develop cross-browser applications. It explains how to authenticate your users, segregate the communication to channels, build chat rooms, and handle and scale sessions. It explains the mechanics behind socket.io and it also introduces you to what is involved in deploying the application to production and the intricacies involved in scaling it. This book will introduce you to all that is needed in browser-server communication to develop the next generation of interactive applications and games.What you will learnEstablish a bidirectional connection in the  browser to the web serverDevelop a chat system using Node.js and socket.ioVarious methods of pushing information from the server to the browserGet familiar with socket.io API for cross-browser bidirectional communicationUnderstand the socket.io protocol and its mechanics behind the scenesGet to know Socket.io messaging, events, sessions, authorization, namespaces, and roomsCluster and distribute the socket.io sessions using redis session storeWho this book is forThis book is aimed at developers who want to start developing highly interactive and real-time web applications like chat systems or online multiplayer games, or want to introduce real-time updates or server push mechanisms in their existing applications. Knowledge of developing in JavaScript and web applications in general is expected. Though there is a chapter on introducing Node.js, prior knowledge of Node.js will be a plus.

Produktinformation

  • Utgivningsdatum2013-02-22
  • Mått191 x 235 x 8 mm
  • Vikt277 g
  • SpråkEngelska
  • Antal sidor140
  • FörlagPackt Publishing Limited
  • EAN9781782160786

Tillhör följande kategorier