dojo-smore: S'more Dojo Stores
This package contains a few implementations of the
dojo/store API which
attempt to "bring back" useful features that were present in some of the more
dojo/data stores, but were never provided out of the box by
The following stores are included:
dojo/store/Memory, overriding its
setDatamethod to accept a string in CSV format; comparable to
querymethods in a manner akin (though not identical) to the way in which
dojo/store/Memory, adding support for a
urlproperty (and a
setUrlmethod) which will request the data for the store using
For further details, see the dojo-doc comments within the respective modules.
The modules in this package require Dojo 1.8, as they depend on
dojo/request and the new Deferred and promise modules.
To get up and running with this package, simply extract its contents into a
folder that is a sibling of the
Note that while dojo-smore doesn't require anything outside of the
package to work, in order to run the included tests you'll need the following:
util/dohto run the included test pages and test suite
test/Csv_perf.html(which compares performance of the included Csv store alongside the old
Both of these are included in the full Dojo 1.8 SDK.
This package, like the Dojo Toolkit itself, is dual-licensed under the modified BSD license and the Academic Free License v2.1. See the LICENSE file for the full text of both licenses.