YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub
  • Home
  • Gallery
  • Forums
  • YUI 2
  • YUI 3
  • YUICompressor
  • YUIDoc
  • More
  • Gallery Forums
  • Gallery Stats
  • Gallery Calendar
  • Register
  • Login

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • FAQ
  • Developer FAQ
  • Developer Guide
  • Module Setup

Context Navigation

    YUI Library is not responsible for bugs or support with this module. It is available as a free service. For support please contact the module owner with the provided links.

    YQL Query (gallery-yql)

    Last Updated: 11/11/09
    + 3 -

    Dav Glass

    YUI Developer

    See 8 more by this user.

    Featured Item

    Created: 10/22/09
    Last CDN Push: 01/27/10
    Build Tag: gallery-2010.01.27-20
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.0.0
    Free for use.
    Module Image

    This module adds a little sugar to YUI3 to make simple easy YQL queries.

    It supports:

    • Simple Queries
    • Community Tables
    • Error Handling
    • Timeout Handling
    • Custom Events
    • Tags:
    • sql
    • yql
    • jsonp
    • davglass
    • query
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    Code Sample

    YUI({
        modules: {
            'gallery-yql': {
                fullpath: 'http://yui.yahooapis.com/gallery-2010.01.27-20/build/gallery-yql/gallery-yql-min.js',
                requires: ['get','event-custom'],
                optional: [],
                supersedes: []
          }
     
        }
    }).use('gallery-yql', function(Y) {
        //Using events
        var q1 = new Y.yql('select * from github.user.info where (id = "davglass")');
        q1.on('query', function(r) {
            //Do something here.
        });
        q1.on('error', function(r) {
            //Do something here.
        });
        //Or the callback approach
        new Y.yql('select * from github.user.info where (id = "davglass")', function(r) {
            //Do something here.
            r.query; //The result
            r.error; //The error message
        });
    });

    Forum Posts

    Subject Author Date
    I Love Yahoo! Developer hussien 11/2/09
    gallery-yql and it's relationship to gallery-jsonp Eric Ferraiuolo 11/13/09
    Re: gallery-yql and it's relationship to gallery-jsonp Dav Glass 11/13/09
    Re: gallery-yql and it's relationship to gallery-jsonp Eric Ferraiuolo 11/13/09
    Re: gallery-yql and it's relationship to gallery-jsonp Dav Glass 11/13/09
    Re: gallery-yql and it's relationship to gallery-jsonp Luke Smith 02/8/10
    YUI Projects
    • All YUI Downloads
    • YUI 2
    • YUI 3
    • YUIDoc
    • YUICompressor
    • YUILibrary.com
    • YUI Build Tool
    • YUI PHP Loader
    Pages & Links
    • All YUI Downloads
    • Git FAQ
    • Graded Browser Support
    • Contribute to YUI
    • Forum Stats
    • Gallery Stats
    • YUI Calendar
    Contribute
    • Submit a Bug
    • Request a Feature
    • Write Code
    • Meet the Team
    Follow YUI
    • on GitHub
    • on Twitter
    • on FriendFeed
    • on Facebook
    • on IRC
    • YUI Blog
    • YUI Theater
    • YUI Forums

    © 2010 YUI Library - Site Credits