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. Posted 6 January 2006 at 2:14 am | Permalink

    Can’t wait for this to be release.

  2. Posted 14 January 2006 at 10:51 am | Permalink

    Wow! Can’t wait.

  3. Posted 19 January 2006 at 10:08 pm | Permalink

    I love the idea of ajax enhanced paged comments…
    If there’d be a chance to integrate your ajax paged comments code into my “binary blue” wordpress theme, just let me know, and i’ll give it a try.

  4. Posted 23 January 2006 at 4:05 pm | Permalink

    I hope this ajax version could be released asap.

  5. Me
    Posted 8 February 2006 at 1:14 pm | Permalink

    Nice this Ajax stuff…

  6. gris
    Posted 17 February 2006 at 3:22 pm | Permalink

    coooool thing…keep on coding…!

    cheers,
    gris

  7. Posted 23 February 2006 at 12:53 am | Permalink

    FYI: I have succeeded to implement full AJAX enhanced paged comments support into the Binary Blue theme suite – no additional plugin needed ;)

  8. tESTERICH
    Posted 25 February 2006 at 1:14 pm | Permalink

    pretty Cool stuff, thanks for developement

  9. Posted 12 March 2006 at 3:16 pm | Permalink

    neat stuff

  10. Posted 20 March 2006 at 1:10 am | Permalink

    You’re late? I haven’t even gotten into it yet!

  11. Posted 29 May 2006 at 7:01 pm | Permalink

    when do you expect to release this to the public?

  12. Posted 30 May 2006 at 2:26 am | Permalink

    sk: I’ll be working on it very soon but don’t know when it’ll be ready. The code for the current implementation is pretty ugly and not easy to package up and release – which is why I’ve only got the demo up and no source.

  13. Claire
    Posted 8 July 2006 at 11:30 pm | Permalink

    Is there a way to post guestbook entries from most recent to oldest? [ie: start from 14 to 1, instead of 1 to 14]

  14. Halil
    Posted 26 August 2006 at 5:09 am | Permalink

    Hi, is there any progress with this plug-in? I cant wait to use it on my blog :)

  15. Posted 19 November 2006 at 11:14 pm | Permalink

    How situation with script? (:

  16. M
    Posted 18 December 2006 at 2:15 am | Permalink

    C’mon dude release the code! It’s been over a year

  17. Posted 14 April 2007 at 9:37 pm | Permalink

    Hey guy,

    what’s up with the ajax comments???

  18. Posted 15 April 2007 at 11:12 pm | Permalink

    Awww comeon gief code :P

    It seems to work, now, release it :P

  19. Posted 16 April 2007 at 6:50 am | Permalink

    Thanks for the interest everyone.

    I really wish I could release it, and I would if it was in a form that I could package up and release. But to be honest I haven’t had time to work on it. There’s no easy way I can work the Ajax code into the current version of the plugin, so, until I find more time, I don’t think you’ll be seeing a release anytime soon. Sorry. :(

  20. OZONO
    Posted 3 July 2007 at 1:08 pm | Permalink

    Cool. I neede it too much!!!!

  21. umut
    Posted 12 July 2007 at 11:37 pm | Permalink

    good job nice code!

  22. Posted 18 July 2007 at 1:39 am | Permalink

    dsada

  23. Chris
    Posted 20 July 2007 at 7:33 pm | Permalink

    i want

  24. testing123
    Posted 1 August 2007 at 7:50 pm | Permalink

    this is a test

  25. Bla
    Posted 3 August 2007 at 11:02 am | Permalink

    Bla bla bla

  26. wefsdf
    Posted 15 August 2007 at 12:16 pm | Permalink

    sdfsdf

  27. Posted 16 August 2007 at 12:21 pm | Permalink

    fsafsaf

  28. Stine
    Posted 27 August 2007 at 1:40 am | Permalink

    hi.

  29. Anonymous
    Posted 30 September 2007 at 11:12 pm | Permalink

    jhj

  30. Mathijs
    Posted 1 October 2007 at 12:37 am | Permalink

    Nice

  31. sdds
    Posted 5 October 2007 at 9:58 am | Permalink

    sqdsqds

  32. ThunderPuss
    Posted 15 October 2007 at 9:57 pm | Permalink

    Nice!

  33. Posted 21 October 2007 at 4:33 am | Permalink

    test

  34. Posted 29 October 2007 at 10:47 pm | Permalink

    REally cool!

  35. Posted 1 November 2007 at 9:03 pm | Permalink

    test

  36. Posted 1 November 2007 at 9:04 pm | Permalink

    t4ert

  37. hrhrh
    Posted 24 November 2007 at 6:45 pm | Permalink

    erh

  38. forty
    Posted 5 December 2007 at 12:30 am | Permalink

    testing

  39. Posted 17 December 2007 at 7:57 pm | Permalink

    Testing this mother

  40. Posted 24 December 2007 at 2:15 am | Permalink

    test

  41. Posted 17 January 2008 at 7:57 pm | Permalink

    tes

  42. Posted 17 January 2008 at 8:24 pm | Permalink

    jwjwjw

  43. Posted 25 January 2008 at 6:57 pm | Permalink

    test

  44. Anonymous
    Posted 2 February 2008 at 7:30 pm | Permalink

    vxccxcxc

  45. fdfdf
    Posted 13 February 2008 at 7:14 am | Permalink

    fdsdf

  46. Posted 22 February 2008 at 4:24 am | Permalink

    test1234

  47. Posted 3 March 2008 at 8:57 pm | Permalink

    asdasda

  48. Name
    Posted 4 March 2008 at 1:07 am | Permalink

    Testing

  49. Max
    Posted 5 March 2008 at 1:21 am | Permalink

    Can I see it?

  50. Posted 10 March 2008 at 2:46 pm | Permalink

    where can we download Paged Comments, Ajax style ? looks really great! ;)

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