Versions:
v0.9
works withember 1.0.0
andember-data 1.0.0-beta.3
v0.8
works withember 1.0.0
andember-data 1.0.0-beta.2
v0.7
works withember rc.6.1
andember-data 0.13
An ember-data
kit for Apache CouchDB.
We love a CouchDB and its RESTful and many other core things such as MVCC, attachments and /_changes. These all brings your data and application flow together as well.
Inspired by pangratz/ember-couchdb-adapter and contains many fixes and newbie features.
There are some of these:
- natural
find/create/deleteRecord
functions; - ability to work with
views
; - document's attachements designed as
hasMany
relationship; - document's revisions designed as
belongsTo
andhasMany
relationships; - ability to work with
/_changes
feeds;
Check source code for more details. In additional, you could find more in /example
application and find out how to use ember-couchdb-kit
on practice.
An ember-couchdb-kit
ships both with compiled js assets and coffee sources.
Compiled assets plased in dist/**.js
folder.
gem "ember-couchdb-kit", git: "[email protected]:roundscope/ember-couchdb-kit.git"
Rails aware generator for vendoring packages into application vendor/assets/javascripts placeholder
./bin/rails g ember_couchdb_kit:install
Add into your application.js
//= require ember-couchdb-kit
rake jasmine
open -a safari http://localhost:8888
ember-couchdb-kit
source code is released under MIT-License.
Check MIT-LICENSE for more details.