Asynchronous node loading

Events happening in the community are now at Drupal community events on www.drupal.org.
alex_b's picture

In the last couple of weeks we were working with Avi Mehta on a module that allows for asynchronously loading nodes. The module provides an interface to views as well as themable functions for the ones among us who love to tinker. An asynchronous pager like on http://www.searchmash.com/search/drupal is also in the works. There is a concept for asynchronously loading blocks.

The module is already deployed on a production intranet site. Its main advantage is that it allows us to load huge lists of nodes (50 or more) avoiding slow full node loads. If users want to look at the entire node with teaser, tags and all, they just expand the node and load it on the spot without leaving the page. This makes the site a lot flatter and thus more navigable.

I am posting this here in order to raise awareness of our development and to avoid parallel work. If you are interested, please check out our sandbox:

http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/developmentse...

Cheers, Alex

Comments

4.7?

jasonwhat's picture

Is this working on 4.7 or 5.0? I'd love to see an example of this if there is one publicly available.

Sorry, Drupal

alex_b's picture

Sorry, Drupal 4.7.

Demo:
http://www.jodhpuriguy.com/sandbox/drupal/?q=asyncPage (only async node loading works).

You can install asyncapi really easily, though. Drop it in, turn it on and create a view with views.module.

Drupal 5.0 version

dwees's picture

I'd love to see this ported to Drupal 5.0. I think a lot of the basic sliding effects could be handled with jQuery, as could the Ajax.

Dave

JS Tools has similar

jasonwhat's picture

While not exactly the same, the JS tools module (http://drupal.org/project/jstools) has asynch loading, but the links have to be in a block. It works for 5.0. However, I like the idea of doing it through views better, and it would be nice to marry these two methods to some extent.

gorgeous.

Veggieryan's picture

great work. just great.

It would be most beneficial to see this and the dynamic load module from jstools become two helper modules of a more general jquery based active loading API module.
or at least get dynamic load working stable and gracefully degrading in 5.0... and loose that long bar animation for the sexy circular style loader..

whoa.

a more current

alex_b's picture

a more current demo, also shows how the pager works:
http://sandbox.jodhpuriguy.com/drupal/

cool / interesting

Christoph C. Cemper's picture

cool / interesting stuff!

Christoph C. Cemper

Christoph C. Cemper

General Manager of CEMPER.COM Internet Marketing Services
running Internet Marketing Fan Blog and a lot of other Drupal sites

Javascript

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: