WebSocket
Lightweight Client-Server Communications
Publisher: O'Reilly Media
Final Release Date: September 2015
Pages: 144

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
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyWebSocket
 
4.5

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Accurate (3)

Cons

No Cons

Best Uses

No Best Uses
    • Reviewer Profile:
    • Designer (3)

Reviewed by 4 customers

Displaying reviews 1-4

Back to top

 
5.0

Great book that was useful and interesting !

By Bill the whale

from San Diego

About Me Designer, Developer

Pros

  • Accurate
  • Easy to understand
  • Helpful examples

Cons

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly WebSocket:

    The examples are easy enough so that you can understand them well, the security section is a must read !

    The part about STOMP I also found really interesting.

    Great read and I would definitely recommend that book to some colleagues of mine !

     
    5.0

    Practical stuff

    By Ian

    from Irvine, CA

    Comments about oreilly WebSocket:

    Straight to the point.

     
    5.0

    Straight shooting

    By MJ

    from Orange County

    About Me Designer

    Verified Reviewer

    Pros

    • Accurate
    • Well-written

    Cons

      Best Uses

        Comments about oreilly WebSocket:

        Lombardi does an excellent job of demystifying the technology with a great focus on practical application. Definitely will make its way into my reference bookshelf. Overall solid output.

        (3 of 5 customers found this review helpful)

         
        3.0

        Keep up the good work and maybe improve.

        By Muzietto

        from Italy

        About Me Designer, Developer

        Verified Buyer

        Pros

        • Accurate
        • Concise
        • Easy to understand

        Cons

          Best Uses

          • Intermediate

          Comments about oreilly WebSocket:

          Subject is truly interesting and the author seems to know his stuff. But updates are lagging and I'm waiting to get past ch.4 since a couple of months.
          The example in chapter 4 required a lot of handling (RabbitMQ, Vagrant, AMQP, etc.) not directly related to WebSocket, so I hope that projects in the coming chapters will be more focused and avoid irrelevant complexities.

          Displaying reviews 1-4

          Back to top

           
          Buy 2 Get 1 Free Free Shipping Guarantee
          Buying Options
          Immediate Access - Go Digital what's this?
          Ebook:  $21.99
          Formats:  DAISY, ePub, Mobi, PDF
          Print & Ebook:  $27.49
          Print:  $24.99