JSFoo 2014

JavaScript as the centerpiece of a complex web stack

Saurabh Mishra

@msaurabh

WebSocket and Real Time Applications

Submitted Jul 7, 2014

The WebSocket specification—developed as part of the HTML5 initiative—introduced the WebSocket JavaScript interface, which defines a full-duplex single socket connection over which messages can be sent between client and server. The WebSocket standard simplifies much of the complexity around bi-directional web communication and connection management.
WebSocket represents the next evolutionary step in web communication compared to Comet and Ajax. However, each technology has its own unique capabilities. Learn how these technologies vary so you can make the right choice.

Outline

We will start with an introductory talk on WebSocket, comparing it with the current solutions – HTTP, AJAX, Comet etc. and showing its low overhead and latency, making it a better solution for today’s web applications. We will then move on to discuss pros and cons of various existing Socket Frameworks .

At the end of this session attendees will know

• What HTML5 Web Sockets are

• When they should be used

• How they can get started setting up working samples of their own

• The primary focus will be on standards-based JavaScript for modern browsers.

• How to build a socket IO application with ExpressJS and NodeJS.

• Other Web Socket Frameworks and advantages with SocketIO.

• WebSocket application DOs and DON’Ts.

Speaker bio

Saurabh has been working with Adobe for more than 3 years and currently a memeber of the team developing Dreamweaver, which is all-in-one visual development tool for creating, publishing, and managing websites and mobile content. His interests include Web Development, WebSockets and building real time applications.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more