Pease: Simple JSON Persistence Library

Now that I am writing Echo3 applications entirely in Javascript, I'm announcing a new Javascript project for data persistence: Pease.

Pease is a simple library for Jaxer to access user-owned document-based JSON data of the server controlled entirely from the client application. It allows for creation of user accounts and allows each user to get, put, post, and delete JSON data within their account using JSONPath patterns. Pease is inspired by the likes of CouchDB and Persevere however it runs inside of Jaxer and it is intended to be very simple and easy to use.

This is a very early untested release which targets potential contributors and not end users.

http://www.philmaker.com/projects/pease/downloads/pease.zip

Thanks,
Philip Weaver

var pod = new Pease.Pod('test3');
var result;
result = pod.save('{}');
result = pod.put('$.actors', []);
var actor1 = pod.post('$.actors', new Actor());
var actor2 = pod.post('$.actors', new Actor());
var actor3 = pod.post('$.actors', new Actor());
actor2.nickname = 'G.',
result = pod.put('$.actors[?(@.id==' + actor2.id + ')]', actor2);
result = pod.get('');
window.alert('test3 result: ' + result);