I am trying to move the logic to the very high-level from the db. Technically, I am looking for extremely lazy-evaluation of things. I feel some non-sql -db is for this purp
The code jquery.couch.js of Futon is well-documented here. You can see source code after installation of CouchDB for example with Ubuntu just $ sudo apt-get install couchdb: