Paged Comments: Ajax Style!

I’m late on the Ajax bandwagon—and still not sure if I really want to be on it—but I thought it was about time to see what all the fuss was about. So, seeing as I have nothing better to do this Christmas, I went and grabbed CPAINT and have spent my time hacking away on a very flaky and highly experimental Ajax implementation of my Paged Comments plugin. It’s not (yet) as fancy and exciting as some of the Ajax demos available on the web, and may not even work for some of you, but at least it’s a start! :)

Initial thoughts:

  • Love the tiny HTTP response produced—returning anything other than the requested comments now seems overkill
  • Without providing a ‘show-all’ link, the comments cannot be reached by search engine spiders
  • I could keep the existing behaviour and include a ‘smart’ Ajax mode which would kick in when a capable browser is detected—maybe using Javascript to rewrite comment-page URLs, pointing them to the Ajax function instead

I’ll probably add to these as I come across problems. In the meantime, try Paged Comments, Ajax style!

There’s plenty of discussion on Ajax floating around on the web. I’ll be adding links to interesting ones I come across (mainly as a reminder to myself to read them).

Update (2005-12-24): Now using script.aculo.us for fancy effects better interaction feedback. :)

This entry was posted in General. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

54 Comments

  1. bob
    Posted 1 April 2008 at 6:39 pm | Permalink

    Can we Download this yet?? Where can i get this, or does anyone know of an Ajax Comments plugin i can use with the paged-comments plugin combined?!?!?!?

  2. Posted 8 August 2008 at 12:01 am | Permalink

    Here we are about 2 years after this initial teaser for AJAX Paged Comments and still no download ;-)

    I’m a big fan of paged comments for most of my WordPress client installations, so I’m looking forward to it.

  3. Posted 8 August 2008 at 12:43 am | Permalink

    Robin: Yes, it’s embarrassing how long I’ve left this. It will be available in version 3, but I’m afraid to predict when that’ll be ready. :)

  4. Brian
    Posted 10 October 2008 at 11:55 pm | Permalink

    Hi Keyvan any progress on this project yet? Any predicitions for a completion date yet :P

    I love your paged-comments would be great to have it ajaxfied.

    Enjoy your day :)

One Trackback

  1. […] The idea for an AJAX enhanced version of paged comments came to my mind when I saw Keyvan’s ajAX paged comments demo, but unfortunately he didn’t make it to a published plugin yet, so I had to reverse engineer the facility in the commonly used clean room way (that means: look what’s going on and then rebuild the functions from scratch). I had to do this especially because I didn’t want a third AJAX library in the theme package, as a single one (prototype) is more than enough power. […]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting