Develop With Style

Let Google Host Your Javascript

Google has just released yet another API. But this time, the API is not interfacing with any of Google’s own services.

The Google Ajax Libraries API, is a content delivery option and loading architecture for the most popular open source Javascript libraries. It means that with just one line of code, you can load your favourite Javascript library into your web app, and not have to worry about keeping the library up to date. It also means the files are gzipped and minified for you, and takes advantage of any caching. This should mean faster loading JS includes.

As announced on Ajaxian, the API is available now, and supports the following open source javascript libraries:

  • Prototype
  • Scriptaculous
  • JQuery
  • MooTools
  • DoJo

The simplest way to load any of the above JS libraries, is as follows:

Or you can use this nifty little snippet, which will always load the latest and greatest version of the library:


Take a look at the docs and play. We like!

Comments