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

Send your tips to gostips@gmail.com.

May 27, 2008

Google Hosts Popular JavaScript Libraries

If you've ever wanted to use a JavaScript library like script.aculo.us, 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?

7 comments:

  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? ;)

    ReplyDelete
  2. Good move.

    Sounds like one ring rules all.

    ReplyDelete
  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).

    Thanks!

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

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

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

    is available at:

    http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js

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

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

    ReplyDelete

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