Persistent Data Modeling
JSON Schema-based validation, REST-style handlers, extensible URL-based and chainable querying, facet-based object capability model security provide a comprehensive set of tools for building flexible robust data models. Persevere's Perstore persistence framework is based on the W3C Indexed Database API for a pluggable data store architectures (MongoDB, CouchDB, JSON files, in-memory, SQL).
The Introduction to Pintura demonstrates some of the simple data models of Perstore, and this article on Perstore's object capability model and facets shows how to build secure data models with flexible access control and alternate views of data.
After getting started you can see the full reference documentation can be found on the project site.