Definitions
CouchJs : the JavaScript interpreter for CouchDB
CouchDB : a NonSQL db where you execute most things in user-space with things such as JS because things tend to be expensive to execute on the database-level
Integrity : In information security, integrity means that data cannot be modified undetectably. More here.
The CouchJS website has no internal search, and after googling more-or-less confusing blog articles, I'm getting lost. Where can I find some simple examples (not just curls/telnets) like below around?
<script type="text/javascript" src="lib/jquery-1.7.2.js"></script>
<script type="text/javascript" src="lib/jquery-ui-1.8.21.custom.min.js"></script>
<script src="http://127.0.0.1:5984/_utils/script/jquery.couch.js"></script>
//# 1. initilalize the db -object
//# 2. save something to the db with the object
<script> db.test.save('hello world') </script>
Perhaps useful to other newbies
CouchDB a real world example, thread with references to free books etc
NonSQL: initialization of DB -object in browser console? DB -logic in the user-space?
Source code of CouchJS here.