Hamish Rickerby

Menu

  • Home
  • Archives
  • Tags
  • About Hamish
  • RSS
August 5, 2008 By: <a href="/about">Hamish Rickerby</a>

Google's AJAX Libraries API

This might be old news (released end of May, I'm soooo behind the times), but Google are supporting hosting for popular javascript libraries, and they are promoting people using their copies of the libraries rather than hosting their own.  I only just found this out, and I think it's pretty cool

http://code.google.com/apis/ajaxlibs/

The service supports either programmatic inclusion using the google jsapi library, or linking directly to their hosted copies.

Good things about this

  • You save bandwidth costs, as your users download the libraries from google
  • Your users get faster browsing ON OTHER DOMAINS, because the more people that use a single source, the more caching should happen
Bad things about this
  • Google have more opportunity to don't be evil - the biggest concern for me is their increased ability to understanding which users use your application, and propensity for understanding how they use it.  A malicious individual within the company could put some nasty code in the js to screw with your site, or monitor and transmit back to googlebase what the user is up to.  It's very unlikely, but it could happen.

« Radiant CMS Tutorial - Custom Javascript in Admin Pages There is a better way (and it's about time I started showing people) »

Copyright © 2023 Hamish Rickerby

Powered by Cryogen | Free Website Template by Download Website Templates