An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to

May 27, 2008

Google Hosts Popular JavaScript Libraries

If you've ever wanted to use a JavaScript library like, Prototype, jQuery or Dojo, but you couldn't upload its files to a site or you found it difficult to manage all the different versions, Google hosts them for you.

"The AJAX Libraries API is a content distribution network and loading architecture for the most popular open source JavaScript libraries. By using the Google AJAX API Loader's google.load() method, your application has high speed, globally available access to a growing list of the most popular JavaScript open source libraries. (...) The AJAX Libraries API takes the pain out of developing mashups in JavaScript while using a collection of libraries. We take the pain out of hosting the libraries, correctly setting cache headers, staying up to date with the most recent bug fixes".

In addition to Google's APIs for search, maps, feeds and translations, you can now access AJAX libraries that add useful features like drag-and-drop, controls, animations or easier DOM manipulation. You can use Google as a fast proxy, but Google also caches the files related to iGoogle gadgets, the feeds that are served by Google Reader, and we should expect to see more content that can be accessed from Google faster and more reliably. In the future, Google could provide even more tools for a site: stats, monetization, search are useful, but what about using an unified Google API that lets you find facts, get spelling corrections, add ratings and forms, store data, add social features and code applications that run on Google's platform?


  1. "what about using an unified Google API that lets you...add ratings and forms, store data, add social features and code applications that run on Google's platform?"
    You mean like Friend Connect? ;)

  2. Good move.

    Sounds like one ring rules all.

  3. Which of these libraries includes the best date parser? I've been using datejs but I wonder how powerful are these tools for parsing dates from web feeds (rss, rdf, atom).


  4. It's not a real library hosts, don't like use "google.load" to load those library. B-)

  5. @zhaiduo: You can also include them directly. For instance,

    google.load("jquery", "1.2.6");

    is available at:

  6. Next step, once they are stable enough, they can integrate them into the browser and ideally "compile" them to speed up execution !

  7. All these libraries have left me wondering if all of them are really necessary. Web design is apparently getting more complicated due to the increase in customer-demanded functionality, so would it not make more sense to consolidate all the various library functionalities into one easy-to-use mega lib, which can be optimised for speed in real-time?
    Furthermore, it takes time to compare the different libs to determine which is best for the customer application you need. We need a better comparison and feature set explanation from these javascript library providers.


Note: Only a member of this blog may post a comment.