AJAX
  Home arrow AJAX arrow Using the jQuery Framework 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? 
Google.com  
AJAX

Using the jQuery Framework with Google`s Ajax Libraries API
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 4
    2009-01-12


    Table of Contents:
  • Using the jQuery Framework with Google`s Ajax Libraries API
  • Review: downloading a JavaScript library via the Google API
  • Working with the jQuery library
  • Serving jQuery’s source file via Google's API

  • 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 jQuery Framework with Google`s Ajax Libraries API
    ( Page 1 of 4 )

    In this second installment of a four-part series, you will learn how to develop an AJAX-driven application that makes use of Google's Ajax Libraries API to work with the jQuery library. Using Google's API means taking advantage of Google's servers, which can be expected to react much more quickly than a single heavily-loaded server. Let's get started.

    Introduction

    A few months ago, Google released a brand new programming interface known as “Ajax Libraries API,” which provides web developers with a number of intuitive methods that can be used for downloading some popular JavaScript libraries directly from Google’s servers.

    The group of frameworks currently supported by this API include popular packages like Prototype, jQuery, Scriptaculous, MooTools, and Dojo. If you use some of these libraries frequently when building your client-side web applications, then it’s possible that you may want to take a closer look at the core methods that come included with this interface.

    This group of articles will get you started using Google's Ajax Libraries API through numerous code samples. Thus, if you’re a strong advocate of Prototype or jQuery and want to learn how to serve these libraries via Google's servers, instead of using local copies, then go ahead and begin reading now!

    And now that I've mentioned the Prototype JavaScript library, it’s time to review the topics discussed in the first installment of this series. In that tutorial I explained how to use the Google API to develop a basic Ajax application with Prototype.

    In that case, I discussed the use of the “google.load()” and “google.setOnLoadCallback()” methods. These methods were used first for downloading a specified version of Prototype,and then for executing a concrete JavaScript function once the entire web document finished loading.

    Indeed, working with a library like Prototype in conjunction with the Google API is a no-brainer process that only requires a minimal background in the aforementioned methods. However, as I said in the beginning, this API also supports using the jQuery framework in a truly painless fashion. Thus, this second chapter of the series will be focused on illustrating how to serve the jQuery dependencies via this handy API.

    Now it’s time to get rid of the preliminaries and demonstrate how to work with this popular JavaScript package using Google's Ajax Libraries API. Let’s jump in!



     
     
    >>> 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 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek