Peter Lubbers is the Director of Documentation and Training at Kaazing
where he oversees all aspects of documentation and training. Peter is
the co-author of the Apress book Pro HTML5 Programming and teaches
HTML5 training courses. An HTML5 and WebSocket enthusiast, Peter
frequently speaks at international events.
Prior to joining Kaazing, Peter worked as an information architect at
Oracle, where he wrote many books, such as the award-winning Oracle
Application Server Portal Configuration Guide and the Oracle
Application Server Developer's Guide for Microsoft Office. Peter also
develops documentation automation solutions and two of his inventions
Before joining Oracle, Peter architected and developed the
internationalized Microsoft Office User Specialist Testing Framework.
Peter was also a technical reviewer for the book "Pro JSF and Ajax:
Building Rich Internet Components" (Apress, 2006).
A native of the Netherlands, Peter served as a Special Forces
commando in the Royal Dutch Green Berets. In his spare time (ha!)
Peter likes to run ultra-marathons. He is the 2007 and 2009
ultrarunner.net series champion and three-time winner of the Tahoe
Super Triple marathon. Peter lives on the edge of the Tahoe National
Forest and loves to run in the Sierra Nevada foothills and around Lake
Tahoe (preferably in one go!). Don't worry though--he won't make you
run laps around the building or do pushups during the HTML5 session!
HTML5 Web Sockets: All-You-Can-Eat Real Time!
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. This 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, Peter Lubbers—co-author of Pro HTML5 Programming (Apress, 2010)—will demonstrate the powerful simplicity of HTML5 Web Sockets, using real-world examples. He 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, betting, and social networking.
Attendees will learn:
- How WebSockets work
- How Web Sockets can provide a dramatic reduction in latency and network throughput (think 1000:1)
- How you can create real-world, real-time apps that scale using the WebSocket API
- What techniques and technologies you can use to build real-time HTML5 web applications