# Yahoo! UI Library

### datasource 3.0.0

Yahoo! UI Library > datasource
Search:
Filters Show Private Show Protected Show Deprecated

### Module: datasource

The DataSource utility provides a common configurable interface for widgets to access a variety of data, from JavaScript arrays to online database servers.

This module contains the following classes:

- DataSourceArraySchema
- DataSourceCache
- DataSource.Function
- DataSource.Get
- DataSource.IO
- DataSourceJSONSchema
- DataSource.Local
- DataSourceTextSchema
- DataSourceXMLSchema
- Pollable

#### Submodules:

`datasource-get`
  Provides a DataSource implementation which can be used to retrieve data via the Get Utility.
`datasource-function`
  Provides a DataSource implementation which can be used to retrieve data from a custom function.
`datasource-polling`
  Extends DataSource with polling functionality.
`datasource-arrayschema`
  Extends DataSource with schema-parsing on array data.
`datasource-xmlschema`
  Extends DataSource with schema-parsing on XML data.
`datasource-jsonschema`
  Extends DataSource with schema-parsing on JSON data.
`datasource-io`
  Provides a DataSource implementation which can be used to retrieve data via the IO Utility.
`datasource-local`
  Provides the base DataSource implementation, which can be extended to create DataSources for specific data protocols, such as the IO Utility, the Get Utility, or custom functions.
`datasource-cache`
  Extends DataSource with caching functionality.
`datasource-textschema`
  Extends DataSource with schema-parsing on text data.

Copyright © 2009 Yahoo! Inc. All rights reserved.