Node.JS and the WebSocket protocol

After reading Simon Willison’s post on Node.JS, I decided I’d give it a try myself. Today I released node.websocket.js

After a couple of months I’ve been watching the progress on the WebSocket protocol, which gives JavaScript developers full-duplex communications channels in the browser. This is a very exciting alternative to the COMET techniques we’re used to seeing.

Node.JS is a framework for networked, event-driven applications, where JavaScript has a natural fit. This particular implementation is built on top of the excellent V8 engine.

Running the server is as simple as:

$ node runserver.js

Continue reading

This post has 11 responses

Posted in Blog 2 months ago

Latest thought

Inner shadows in CSS3

Posted 5 days ago

Flickr

  • Topaz Adjust Review - and The 57 Chevy
  • Starburst
  • Peru - Day 7 - In Machu Pichu
  • Dining Venice Style
  • Argentina - Buenos Aires 04