BT

Juggernaut: Real-time communication for your Rails views

by Peter Cooper on Jul 23, 2006 |

At the Canada on Rails conference in April, David Heinemeier Hansson presented a demonstration of a new technology called Armageddon that allowed real-time communications between a Web page (i.e. a Rails view) and a special 'socket server' (using Flash) that could pass messages in real-time to clients to process.

Alex MacCaw, a 16 year old developer from the UK, took these ideas and has developed and released a system called Juggernaut which offers the same functionality in a ready-to-go Rails plugin. It has been successfully tested with FireFox, Internet Explorer, and Safari, and as it's based on Flash 6 technology, should be usable by over 95% of Web users.

The implications of the Juggernaut plugin (and those that extend it) are huge. With a real-time connection between Rails' views and a server process, it becomes trivial to implement efficient chat systems (hundreds of separate HTTP requests, as with AJAX, can prove resource-heavy), but even more interesting are the more advanced ideas that are only just being considered such as real-time collaborative wikis, collaborative CMSes, etc.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT