AJAX
  Home arrow AJAX arrow Using the google.load() Method with Google`s Ajax Libraries API
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
AJAX

Using the google.load() Method with Google`s Ajax Libraries API
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 4
    2009-01-26


    Table of Contents:
  • Using the google.load() Method with Google`s Ajax Libraries API
  • Review: delivering the Prototype JavaScript library without compressing its source files
  • Serving the jQuery library without using compression
  • Source code for the sample Ajax application

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Using the google.load() Method with Google`s Ajax Libraries API
    ( Page 1 of 4 )

    Google's Ajax Libraries API is a programming interface that permits web developers to download popular JavaScript packages, such as Prototype, jQuery and Scriptaculous, directly from Google’s servers instead of using local copies of these libraries. In this fourth part of a four-part series on using the API, you'll learn how to serve the jQuery framework without compression.

    Introduction

    Naturally, the major benefit in using this API is its capacity for delivering a specified JavaScript framework at a higher speed (source files are usually compressed by default). This can also improve the performance of a client-side application utilizing the interface.

    However, it’s also fair to mention one possible down side of this approach. Each time a web application requests a particular JavaScript package by means of this API, Google tracks the event. Some web developers might find this undesirable.

    Despite this potential issue, the Google API can be really useful for delivering JavaScript files very quickly, since it allows you to specify, via client-side scripting, whether a specific library must be downloaded compressed or uncompressed. This feature can be completely controlled via the “google.load()” method. Indeed, in the previous article, I explained how to serve the Prototype package from Google’s servers without using compression.

    Nonetheless, as I said in the beginning, the Google API supports working with other JavaScript libraries, including jQuery, Dojo and MooTools. Therefore, in this final episode of the series, I’ll be demonstrating how to serve the jQuery framework via this API, this time without using HTTP compression.

    Are you ready to tackle the final chapter of this educational journey? Then, start reading now!



     
     
    >>> More AJAX Articles          >>> More By Alejandro Gervasio
     

       

    AJAX ARTICLES

    - PHP AJAX Form Validation
    - Completing a User-Defined CSS Website with P...
    - Create a User-Defined CSS Website with PHP
    - Build A Better Twitter Chat Client Than Cham...
    - Using Division Equations to Make Web Forms S...
    - Using Integer Multiplication to Protect Web ...
    - Using Simple Checksums for Web Form Verifica...
    - Protecting Web Forms with AJAX
    - Using Prototip with AJAX
    - Using Prototip
    - Using the google.load() Method with Google`s...
    - How to Handle Ajax Errors
    - Uncompressing Source Files with Google`s AJA...
    - Using the jQuery Framework with Google`s Aja...
    - Using Google`s Ajax Libraries API




    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    Stay green...Green IT