WebSocket: Lightweight Client-Server Communications

WebSocket: Lightweight Client-Server Communications book cover

WebSocket: Lightweight Client-Server Communications

Author(s): Andrew Lombardi (Author)

  • Publisher: O'Reilly Media
  • Publication Date: October 20, 2015
  • Edition: 1st
  • Language: English
  • Print length: 141 pages
  • ISBN-10: 1449369278
  • ISBN-13: 9781449369279

Book Description

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

Editorial Reviews

Review

"This book walks through a number of useful examples, easily applied to the real world, along with discussions of issues that developers will find when working with the WebSocket protocol." - Joseph B. Ottinger Senior Engineer, Edifecs, Inc.

"A complete introduction to WebSocket concepts and implementation details." - Arun Gupta, Director of Developer Advocacy, Red Hat

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.

Amazon Page

下载地址

PDF, EPUB, MOBI, supplement | 18 MB | 2019-04-11
打赏
未经允许不得转载:finelybook » WebSocket: Lightweight Client-Server Communications

评论 抢沙发

觉得文章有用就打赏一下文章作者

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫