Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

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.

Tagged , , , , , , ,

9 comments

  1. It pains me to write AJAX too. The only time you will ever see me do it..... ;)

    Dion Almaer - 27th May 2008 18:48 - #

  2. So how do you separate it from the cleaning product? Plus it is actually an acronym...

    AlastairC - 27th May 2008 18:55 - #

  3. 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 - #

  4. 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".

    Simon Willison - 27th May 2008 20:20 - #

  5. an optional JavaScript API to dynamically load the most recent version of a library.

    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 - #

  6. Notably absent is YUI!

    Jon Leighton - 27th May 2008 22:50 - #

  7. Jon,
    Doesn't Yahoo already provide a similar service for YUI?

    Tony - 27th May 2008 23:30 - #

  8. 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.

    Dinoboff - 28th May 2008 02:18 - #

  9. ... the loader is useless, the hosting of the library is great.

    Dinoboff - 28th May 2008 02:41 - #

Comments are closed.
A django site