Open Source AJAX toolkits
twofish writes "InfoWorld columnist Peter Wayner recently reviewed six
of the most popular "open source" Ajax toolkits. The article sets
out to see if they are enterprise ready in comparison to commercial products
such Backbase, JackBe, and Tibco's General Interface. The six open source projects
covered were selected because each has a high-profile in the developer community
and support of one or more stable organizations. "
The toolkits covered are:
Whilst the definition of open source is broad, the round-up is quite helpful.
- Dojo
- Google Web Toolkit
- Microsoft Atlas
- Open Rico and Prototype
- Yahoo AJAX Library
- Zimbra Kabuki AJAX Toolkit
Whilst the definition of open source is broad, the round-up is quite helpful.
This column uses an interesting definition of Open Source.
From the article:
Microsoft's Atlas may not be open source -- the license includes terms that would rankle a devotee -- but the code you create with the system is yours to license as you like, and you'll be able to create Atlas apps with few practical restrictions.
Oh. Is that what Open Source means? That I can create apps with it and license them how I like? Well, crap, Visual Studio must be open source too!
Last I checked, neither Atlas nor GWT were open source in any sense of the word, though at least GWT will run on real servers.
Or just write the ten lines needed to do XMLHttpRequest calls yourself (there, that's the AJAX part taken care of), and for all other effects write your own functions just like always (copy/paste from your personal library and adapt), so you don't have to deal with bloat, nine out of every ten functions being unneeded, and far too many levels of abstraction and generalization, and have the benefit of actually being able to quickly debug the script when you encounter a problem!
The only organizations where these toolkits might be useful are the really really large ones where there's a team that can dig into the framework and basically "make it their own". Everything smaller, using occasional contractors to maintain the code, benefit far and far more from simplicity, readability and maintainability than from dubious-quality top-heavy frameworks with lack of code-level documentation and thousand and one edgecase-bugs. (Spoken like someone who's had to trace such bugs in the mess of prototype and scriptaculo.us; I've only _looked_ at Dojo, Rico, Yahoo and Zimbra (and not at all at the other two), but my impressions were that what they made up in better code quality, they lost in bloat.)
I'd recently given myself a crash course in javascript for a site I was working on. Ended up using the moo.fx (http://moofx.mad4milk.net/) library with niftycube (http://www.html.it/articoli/niftycube/) for the all important rounded corners. Checked out dojo but it seemed a little more than I needed. Also glanced at Yahoo.
e ct_position
Looking over the packages listed here, I'm especially impressed with Rico. Single file used in conjunction with the prototype.js script. And a really excellent demo page:
http://openrico.org/rico/demos.page?demo=rico_eff
The author of the article gives Yahoo credit for the package management -- I think Rico deserves a praise for their site, too. I look forward to giving it a whirl.
Innovation makes enemies of all those who prospered under the old regime... -- Machiavelli
It's not just an effect library (anymore?). Yes, it is built on top of prototype - in fact, scriptaculous has the only documentation I know of for Prototype. But that shouldn't it exclude it from a list of AJAX library comparisons. That's like saying "well, the GIMP uses libpng so we're not going to review it amongst photo editors."
Anti-disclaimer: I don't have anything to do with the script.aculo.us guys, but as a Ruby on Rails developer it has served my needs just fine.
The space unintentionally left unblank.
I looked at some of these a while ago. Zimbra has one of the coolest demos. But many of these severely (or completely) lack documentation, which means they are not ready for anything but "mom's basement, no deadline" type projects.
This stuff is really exciting, but until there is documentation, it is not worth mentioning at work.
A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
Was my post worth +5? Probably not, but obviously, enough appreciated it enough to mod it up....
My mom always said, "Jim, you're 1 in a million." Given the current population, there are 7000 of me. God help us all!