#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# datasource Module

User Guide & Examples
Defined in: `datasource/js/datasource-xmlschema.js:8`

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 provides the following classes:

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

This module is a rollup of the following modules:

- datasource-arrayschema
  Extends DataSource with schema-parsing on array data.
- datasource-cache
  Plugs 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.