Простой пример использования CouchJS в пользовательском пространстве, например, с помощью браузера?

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.

Сайт CouchJS не имеет внутреннего поиска, и после поиска более или менее запутанных статей в блоге я теряюсь. Где я могу найти несколько простых примеров (не только curl / telnets), как показано ниже?

<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.

https://stackoverflow.com/questions/11077093/what-are-ajax-options-in-couchjs-explain-this-odd-null-error-with-couchjs

Ответы на вопрос(3)

Ваш ответ на вопрос