Home arrow AJAX & Prototype arrow Uncompressing Source Files with Google`s AJAX Libraries API

Uncompressing Source Files with Google`s AJAX Libraries API

Welcome to the third part of the series titled ďUsing Google's Ajax Libraries API.Ē Made up of four approachable tutorials, this series teaches you how to download and use your favorite JavaScript library by means of this client-side API. It complements the corresponding theory with a large variety of code samples.

  1. Uncompressing Source Files with Google`s AJAX Libraries API
  2. Serving JavaScript files using compression
  3. Serving JavaScript files without using compression
  4. Assembling the modules of the Ajax application
By: Alejandro Gervasio
Rating: starstarstarstarstar / 12
January 20, 2009

print this article




If youíre a web developer who builds JavaScript applications by using popular JavaScript libraries like Prototype, jQuery, Scriptaculous, and Dojo, then youíll be pleased to know that Google has released a handy programming interface. Called Ajax Libraries API, this interface can be used for downloading the source files of these packages directly from Googleís servers.

To learn in depth how to get the most out of this interface, however, you may need an approachable guide that shows you how to work with the APIís most relevant methods through a hands-on approach. And thatís exactly where this group of articles comes in!

Now that youíre aware of the goal of this multi-part series, itís time to briefly review the topics that were discussed in the last article. In that part, I explained how to use the Google API to develop a simple Ajax application whose functionality was based on reading the content from a text file, and then  displaying it on the browser.

In this situation, the implementation of the logic requires the performance of  Ajax-driven HTTP requests. This was accomplished with the assistance of the jQuery library, whose corresponding source file was delivered through the Google API.

Nonetheless, itís necessary to stress that Google serves by default all of the supported JavaScript packages in a compressed way, in an attempt to decrease their downloading times. Thus, in this third article of the series, Iíll be discussing how to disable this feature within a sample web application, in case you donít want to use it.

Now, with the preliminaries out of the way, itís time to continue this educational journey of working with Google's Ajax Libraries API. Letís get going!

>>> More AJAX & Prototype Articles          >>> More By Alejandro Gervasio

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Best AJAX Tutorials for Forms
- The Best AJAX Tutorials
- 8 Great Ajax Tutorials
- Using Ajax and jQuery
- Using Ajax and jQuery with HTML Forms
- Ajax.org Offers Cloud9 IDE for JavaScript
- Java Technologies Provider ICEsoft Releases ...
- Using Recaptcha in AJAX Prototype Framework ...
- Google's Closure Compiler Service API: Addit...
- Installing Google Web Toolkit: Introducing t...
- Google's Closure Compiler Service API: Displ...
- Google's Closure Compiler Service API: Deliv...
- Google's Closure Compiler Service API: the A...
- Google's Closure Compiler Service API: the S...
- Google's Closure Compiler Service API: Optim...

Developer Shed Affiliates


Dev Shed Tutorial Topics: