Musings on Javascript Libraries
I’m not quite the master of Javascript that I’d like to be. I have a basic grasp of the language and have used the jQuery library lightly for viralvideos.com; I chose it mostly because it is compact and I’d played with it since it is included with Drupal 5.
Recently, I was pointed to Jack Slocum’s blog to check out his comment system. He put together a pretty neat hack on top of Wordpress, using his “Ext” javascript UI library, to allow commenters to essentially annotate any block (block being html-defined blocks like a paragraphs, images, etc.) in any blog post using the generic Wordpress commenting system. I have some concern that the collected comment view (which is still available) may lose some coherence due to a lack of context for some comments, but I could imagine many cases where this kind of comment system would be delightfully appropriate (jumping to mind: a way to integrate the “discuss” tab in a wiki entry to portions of text within the wiki page itself?).
Anyway, this just in from the jQuery blog: jQuery will integrate Slocum’s ext. Sweet. Now I don’t feel like I’m learning two different things.
