YUI 3.x Home -

Library Examples: DataSource Utility

Note: This is YUI 3.x. Looking for YUI 2.x?

DataSource Utility: Examples

The DataSource Utility provides a common configurable interface for other components to fetch tabular data from a variety of local or remote sources.

  • DataSource.Local: The Local DataSource manages retrieval of data from in-memory JavaScript arrays and objects.
  • DataSource.Get: The Get DataSource, which manages retrieval of data from remote sources via the Get Utility, can be useful for accessing data from cross-domain servers without the need for a proxy.
  • DataSource.IO: The IO DataSource manages retrieval of data from remote sources, via the IO Utility.
  • DataSource.Function: The Function DataSource, which manages retrieval of data from a JavaScript function, provides a highly customizeable mechanism for implementer-defined data retrieval algorithms
  • DataSource with Caching: Use the DataSourceCache plugin to enable caching and reduce server calls to remote sources.
  • DataSource with Polling: Use the Pollable extension to enable polling in your DataSource.

Copyright © 2009 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings