The Definitive Guide to HTML5 WebSocket

  • 2h 48m
  • Frank Salim, Peter Moskovits, Vanessa Wang
  • Apress
  • 2013

The Definitive Guide to HTML5 WebSocket is the ultimate insider’s WebSocket resource. This revolutionary new web technology enables you to harness the power of true real-time connectivity and build responsive, modern web applications.

This book contains everything web developers and architects need to know about WebSocket. It discusses how WebSocket-based architectures provide a dramatic reduction in unnecessary network overhead and latency compared to older HTTP (Ajax) architectures, how to layer widely used protocols such as XMPP and STOMP on top of WebSocket, and how to secure WebSocket connections and deploy WebSocket-based applications to the enterprise. Build real-time web applications with HTML5.

This book:

  • Introduces you to the WebSocket API and protocol
  • Describes and provides real-world examples of protocol communication over WebSocket
  • Explains WebSocket security and enterprise deployment

What you’ll learn

  • Understand the WebSocket API and Protocol
  • Build Instant Messaging and Chat Applications over WebSocket with XMPP (Extensible Messaging and Presence Protocol)
  • Implement a Publish/Subscribe Messaging Protocol over WebSocket with STOMP (Simple Text Oriented Messaging Protocol)
  • VNC with the Remote Framebuffer Protocol
  • Learn WebSocket Security Deployment Considerations for an Enterprise WebSocket Architecture

About the Authors

Vanessa Wang is an HTML5 and WebSocket enthusiast who has spent more than fifteen years writing about such diverse subjects as complex database application tools and cutting-edge web technologies. She is currently Manager of Technical Publications at Kaazing and co-organizer of the San Francisco HTML5 User Group. When she is not writing, she enjoys organizing community events for HTML5 and related technologies. Twitter (@vjwang).

Frank Salim is a software engineer at Google. Previously, he was one of the original engineers at Kaazing who helped craft the WebSocket gateway and client strategy. Frank is a San Diego native currently residing in San Francisco, California. He holds a degree in computer science from Pomona College. In 2010, Frank co-authored Pro HTML5 Programming (Apress).

Peter Moskovits heads up real-time solutions development at Kaazing, a software company enhancing the way business and customers communicate across the Web using the new HTML5 WebSocket standard. Peter works closely with architects and the developer community to build and deploy the best possible web communication solutions. Before joining Kaazing, in various product management leadership roles Peter was responsible for Oracle's portal product strategy. Peter is a frequent speaker at conferences and industry events, such as GoTo, YOW!, JavaOne, Oracle OpenWorld, HTML5DeConf, DevCon5, and various user group meetings. He is also the co-author of the Oracle WebCenter 11g Handbook.

In this Book

  • Introduction to HTML5 WebSocket
  • The WebSocket API
  • The WebSocket Protocol
  • Building Instant Messaging and Chat Over WebSocket with XMPP
  • Using Messaging Over WebSocket with STOMP
  • VNC with the Remote Framebuffer Protocol
  • WebSocket Security
  • Deployment Considerations