# Yahoo! UI Library

### datasource 3.1.1

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-arrayschema`
  Extends DataSource with schema-parsing on array data.
`datasource-cache`
  Extends DataSource with caching functionality.
`datasource-function`
  Provides a DataSource implementation which can be used to retrieve data from a custom function.
`datasource-get`
  Provides a DataSource implementation which can be used to retrieve data via the Get Utility.
`datasource-io`
  Provides a DataSource implementation which can be used to retrieve data via the IO Utility.
`datasource-jsonschema`
  Extends DataSource with schema-parsing on JSON data.
`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-polling`
  Extends DataSource with polling functionality.
`datasource-textschema`
  Extends DataSource with schema-parsing on text data.
`datasource-xmlschema`
  Extends DataSource with schema-parsing on XML data.

Copyright © 2010 Yahoo! Inc. All rights reserved.