Store API

WORK IN PROGRESS

This Page describes the interface a store implementation needs to provide full Storage functionality to applications. This interface does not have to be provided as a CommonJS module - any JavaScript object or scope implementing the functions described below will work.

The store object is passed as first argument to the Storable.defineEntity method. The second and optional third arguments are the type name and type mapping information provided by the application. The store's defineEntity() method returns a JavaScript constructor that can be used to create, retrieve, update, and delete persistent objects of this type as described on the Storage main page.

edit this page | list all pages | go home