Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Getting Started with HTML5 WebSocket Programming

Buy

Develop and deploy your first secure and scalable real-time web application

Overview

  • Start real-time communication in your web applications
  • Create a feature-rich WebSocket chat application
  • Learn the step-by-step configuration of the server and clients

In Detail

WebSockets are capable of bi-directional, full-duplex communication over a persistent TCP connection They provide many benefits compared to the alternatives (for example, long-polling or Comet), such as lower overhead, persistent connections, and low latency. In short, it is the most technically challenging HTML5 feature to implement, but for truly interactive websites, it's a technology worth learning.

Getting Started with HTML5 WebSocket Programming gives you the true power of bi-directional communication, implemented by using the brand new HTML5 WebSocket API. Youll learn how to configure the server and clients, how to transmit different types of data and how to secure the whole system.

This book will introduce you to the WebSocket world. We start by introducing the WebSocket API, and continue with practical, real-world examples until we can determine how to build multi-functional web apps for any type of device.

You will learn how to configure a web client and a web server that will help you send messages to others using easy-to-use mechanisms. We will also find out how different data types, such as images and videos, can be transferred with little effort. We present additional fallback techniques and solutions for older browsers too. Finally, we will secure our clients from malicious attacks and other threats.

What you will learn from this book

  • Understand the concepts of the WebSocket API and why it is superior to the existing techniques
  • Implement a WebSocket client that will connect to a remote server and transmit messages to other clients
  • Configure a WebSocket server using your existing skills and knowledge
  • Implement native WebSocket clients for mobile and tablet devices
  • Support older browsers that do not support HTML5 WebSockets

Approach

Getting Started with HTML5 Websocket Programming takes a tutorial-based approach.

Who this book is written for

This book is for anyone who wants to build high-performance, true, real-time web applications. Being familiar with frontend web development (HTML / XHTML, JavaScript) would be ideal.

(HTML tags aren't allowed.)

The Future of Public Housing: Ongoing Trends in the East and the West
The Future of Public Housing: Ongoing Trends in the East and the West

Public housing was once an important strand in western housing policies, but is seldom seen as a mainstream policy instrument for the future. In contrast, in many East Asian countries large public housing programs are underway. Behind these generalizations, there are exceptions, too. By including perspectives of scholars from across the...

CCTV Surveillance, Second Edition: Video Practices and Technology
CCTV Surveillance, Second Edition: Video Practices and Technology
This revision of the classic book on CCTV technology, CCTV Surveillance, provides a comprehensive examination of CCTV, covering the applications of various systems, how to design and install a system, and how to choose the right hardware. Taking into account the ever-changing advances in technology using digital techniques and the...
Wild West 2.0: How to Protect and Restore Your Reputation on the Untamed Social Frontier
Wild West 2.0: How to Protect and Restore Your Reputation on the Untamed Social Frontier

The Internet is like the Old West a frontier rich with opportunity and hope, but also a rough-and-tumble land of questionable characters, dubious legal jurisdictions, and hidden dangers. And just like the Old West, if you want to stake out your territory, you have to get there first and fend for yourself. On the web, that means defending your...


How Do Witches Fly? A practical approach to nocturnal flights.
How Do Witches Fly? A practical approach to nocturnal flights.

Books which examine the folklore of Europe's traditional "witch" plants are not uncommon, and some give some coverage to describing the psychotropic and hallucinogenic effects of these plants on the human body. However this book is rather more unusual than that in that the author is first and foremost a biochemist with an...

Scaling up Machine Learning: Parallel and Distributed Approaches
Scaling up Machine Learning: Parallel and Distributed Approaches

This book presents an integrated collection of representative approaches for scaling up machine learning and data mining methods on parallel and distributed computing platforms. Demand for parallelizing learning algorithms is highly task-specific: in some settings it is driven by the enormous dataset sizes, in others by model complexity or by...

Designing Large Scale LANs
Designing Large Scale LANs
Large networks are complex systems, with many interdependent devices held together only by the strength of the network designer's specifications. It takes a lot of knowledge--and a lot of time--to make sure that the capacity of links and nodes is neither wasted nor overloaded. Designing Large-Scale LANs explains how the pieces of a large...
©2019 LearnIT (support@pdfchm.net) - Privacy Policy