Upload

Loading...

Web2.0 Expo (Part 3): Using HTML5 Web Sockets to Create Real-time Applications

1,221 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Uploaded on Jun 3, 2010

Harnessing the Power of HTML5 Web Sockets to Create Scalable Real-time Applications

Web2.0 Expo SF 2010
Peter Lubbers, Brian Albers
Kaazing
3:10pm Thursday, 05/06/2010

For More Info, Including PDF Slides, visit:
http://www.web2expo.com/webexsf2010/p...

Today, we enjoy what looks like a real-time web experience, but take a look under the hood and you'll quickly see that this "real-time" experience has an outrageously high price tag—one you pay with network throughput and latency. The user-perceived real-time experience is often achieved by using an assortment of clever browser hacks and obscure techniques known as Comet or Reverse Ajax. The bottom line is that simulating bi-directional browser communication over HTTP—which is half-duplex and request/response driven by nature—is error-prone and complex.

Complexity does not scale.

HTML5 Web Sockets to the rescue! Defined in the Communications section of the HTML5 specification, HTML5 Web Sockets represent the next evolution of web communications—a full-duplex, bidirectional communications channel that operates over a single socket. WebSockets provide not only a standard against which scalable real-time RIA applications can be built, but also a socket, native to the browser, that facilitates network programming from the browser with super-efficient bi-directional (full-duplex) communication over a single connection, eliminating many the problems that Comet and AJAX solutions are prone to and getting rid of the complexity.

In this session, Brian and Peter—co-authors of Pro HTML5 Programming (Apress, 2010)—will demonstrate the powerful simplicity of HTML5 Web Sockets, using real-world examples. They will show you that HTML5 Web Sockets allows you to do all kinds of incredible things in your web applications. For example, using Web Sockets, you can communicate directly from the browser with any TCP-based back-end service (using protocols like Stomp, JMS, Jabber, IMAP, and so on), allowing you to easily create applications such as web-based chat, online trading and betting, and social networking.

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...