This site is archived.

Drupal and the Real-time web

Innovate today. Build tomorrow.
Code & Development

Drupal and the Real-time web

45 minutes (+15 minutes Q&A)

Room:

tags

Commerce Guys

"The Real-Time Web is a paradigm based on pushing information to users as soon as it's available - instead of requiring that they or their software check a source periodically for updates." [source].

The Real-Time web is, for better or for worse, one of the next big things on the web today. It presents some interesting challenges, mainly in terms of scalability and usability. Drupal - the content-management framework built to empower communities - cannot stay out of it. In this session, we will demonstrate that using the right mix of technologies, you can add a touch of real-time to every website.

In 45 minutes, we will add real-time refresh to the comments of a Drupal website, and introduce the following technologies:

  • Client side: Comet, Bayeux, Web sockets, pushing content to the user on the modern web.
  • Server side: building a scalable push messaging server using NodeJS and Faye
  • Bridging the gap: refreshing comments in real-time on any node

(photo credit: http://www.flickr.com/photos/vidiot/69075298/)

Resources

Why we can't build a scalable

5. July 2010 - 1:36

Why we can't build a scalable push messaging server with Drupal?

The execution model of PHP

5. July 2010 - 16:12

The execution model of PHP prevents keeping 10,000 of connections open at the same time. That's where NodeJS comes in. It just does the messaging part (allowing clients to subscribe to messages using long-lived HTTP/Websocket connections), the rest is handled by Drupal.

Is there

19. September 2010 - 17:25

Is there slideshare/audio/video from this session?