WebSocket: Lightweight Client-Server Communications

WebSocket: Lightweight Client-Server Communications

by Andrew Lombardi
WebSocket: Lightweight Client-Server Communications

WebSocket: Lightweight Client-Server Communications

by Andrew Lombardi

eBook

$16.49  $21.99 Save 25% Current price is $16.49, Original price is $21.99. You Save 25%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Until recently, creating desktop-like applications in the browser meant using inefficient Ajax or Comet technologies to communicate with the server. With this practical guide, you’ll learn how to use WebSocket, a protocol that enables the client and server to communicate with each other on a single connection simultaneously. No more asynchronous communication or long polling!

For developers with a good grasp of JavaScript (and perhaps Node.js), author Andrew Lombardi provides useful hands-on examples throughout the book to help you get up to speed with the WebSocket API. You’ll also learn how to use WebSocket with Transport Layer Security (TLS).

  • Learn how to use WebSocket API events, messages, attributes, and methods within your client application
  • Build bi-directional chat applications on the client and server with WebSocket as the communication layer
  • Create a subprotocol over WebSocket for STOMP 1.0, the Simple Text Oriented Messaging Protocol
  • Use options for older browsers that don’t natively support WebSocket
  • Protect your WebSocket application against various attack vectors with TLS and other tools
  • Debug applications by learning aspects of the WebSocket lifecycle

Product Details

ISBN-13: 9781449369231
Publisher: O'Reilly Media, Incorporated
Publication date: 09/09/2015
Sold by: Barnes & Noble
Format: eBook
Pages: 144
File size: 3 MB

About the Author

Andrew Lombardi is a veteran entrepreneur and software developer. His parents taught him to code while barely able to read on an Apple II he still wishes he had. He’s been running the consulting firm Mystic Coders for 15 years, coding, speaking internationally, and offering technical guidance to companies as large as Walmart and companies with problems as interesting as helicopter simulation. He firmly believes that the best thing he’s done so far is being a great dad.

From the B&N Reads Blog

Customer Reviews