Scalable Drupal API for Updating Content with Asynchronous HTTP Requests

Profile picture

Like sharks, the internet never stops swimming and the internet is the fastest shark you've ever seen. In this age of metaphor and large and never ending content flow; page refreshes are out and we're gonna need a bigger boat.

Enter: Live Update

Live Update is a scalable and extensible API to enable content update without requiring a page refresh. You tell Drupal when new content is ready (say on saving of a node) and JQuery will find that new content and insert it into the user's browser. New content, no refresh.

This module came out of our work on the PBS: Engage project. The Live Chat system is a moderated Question and Answer session run by PBS featuring guests like Bill Moyers and Terry Lickona. We are pleased to work with PBS to contribute this back to community.

Asynchronous HTML requests is the tip of the spearhead that is blurring the boundaries between desktop and the web. And we're helping to bring it to Drupal. Check it out!

Comments

Will people game the system? Rosen proposes that ultimately the passionate will be most involved and by having an open system with widely available tools, users will police it. I think CBS Eyemobile and Apple offer examples of how the users are policing content

I can't wait to see how this turns out. There's an async page loading module that's still a little wonky in IE, but it doesn't have async HTTP requests... this would be totally dope to see pan out well. If I understood how to implement the API I would totally use this.

Thanks. The asynchronous module is an exciting project, but the scope is a little different. It aims to globally change page loads into ajax loads.

Live Update is for specific controlled ajax requests.

The API documentation can be viewed here. It's fairly simple to use and you can look at the included modules for exmaples of how to use it!

Add comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <br/> <br /> <p> <img> <blockquote> <i> <b> <u>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.

Client Testimonial

I love working with Chapter Three. They are THE Drupal experts and have helped 7x7 and California Home+Design with everything from troubleshooting sticky bugs to designing and building out entire sites. They understand both our editorial and business needs and have delivered top-notch products that satisfy both.

Jennifer Pollock, Online Managing Editor, 7x7 and California Home + Design

Drupalcon SF 2010