Google AJAX Libraries API (via) Google are hosting copies of jQuery, Prototype, mooTools and Dojo on their CDN, with a promise to permanently host different versions and an optional JavaScript API to dynamically load the most recent version of a library. I wish they’d stop capitalising Ajax though.
It pains me to write AJAX too. The only time you will ever see me do it..... ;)
Dion Almaer - 27th May 2008 18:48 - #
So how do you separate it from the cleaning product? Plus it is actually an acronym...
Why wouldn't you write AJAX considering it is an acronym? I hate Ajax even though I sometimes write it if I'm in a hurry.
Declan - 27th May 2008 19:38 - #
It's a terrible acronym though - Ajax doesn't have to be Asynchronous, technically it doesn't have to involve JavaScript and it definitely doesn't have to involve XML.
General consensus amongst the JavaScript people I hang out with is that it works better if you pretend the acronym bit never happened and define it as "any technique that lets you communicate with the server without a full-page refresh".
Actually, that functionality is available through loading the scripts directly as well. I don't know what the purpose of the JavaScript API is.
Jim Dabell - 27th May 2008 20:37 - #
Notably absent is YUI!
Jon,
Doesn't Yahoo already provide a similar service for YUI?
Tony - 27th May 2008 23:30 - #
It is useless as long as it doesn't allow something like:
google.load('jquery', '1.2.6');
google.load('http://example.com/my.plugin.js');
... to load the plugins in order.
You can use jQuery.getScript() instead but it won't be as elegant and I am not sure all libraries have such method.
... the loader is useless, the hosting of the library is great.