Jay McGavren's Journal

2006-04-18

So until this morning, I believed AJAX was the domain of masochists - people who were willing to slog through cross-browser incompatibilities just to build a single transparent list and make their Website a shred cooler than the competition. Then I listened to this podcast:

> IT Conversations: AJAX Progress and Challenges - > Technometria > “In this conversation, Phil Windley sits down with Ben > Galbraith, Bruce Grant and Scott Lemon, three experienced > AJAX developers and evangelists, to talk about progress and > challenges in the AJAX world.” http://www.itconversations.com/shows/detail1010.html

And there I learned of the frameworks: libraries of Javascript functions that abstract away all the problems with working on multiple browsers. Now, you don’t code a transparent menu from scratch; you put a menu object in your page and the framework handles it all for you. Not all features work across all browsers today, but at least now you can let the framework authors worry about that - your site’s code doesn’t need to be touched.

Prototype This is the more polished framework. It’s also integrated with Ruby on Rails. Check the links to script.aculo.us and Rico, two effects libraries built on top of Prototype. http://prototype.conio.net/

Dojo This framework doesn’t have a pretty set of example pages right now, but click on the HTML files in their unit test directory to see some [i]really[/i] cool widgets. (Like the full rich text editor!) http://archive.dojotoolkit.org/nightly/tests/

So what’s the takeaway from all this? I think AJAX is about to go mainstream. I hope people will design responsibly and not use it for its own sake, but you should definitely consider whether your site will benefit from it. Plain-old HTML is going to look dated very soon.

comments powered by Disqus