Couchbase & Backbonejs?
Thu, 11/29/2012 - 09:27
Anyone know if there is an example of how to implement a Backbonejs solution with Couchbase?
I found one for CouchDB
https://github.com/janmonschke/backbone-couchdb
Hello,
As far as I know, I have not seen any code example of Backbone.js applications consuming data from Couchbase Server.
You can see in the backbone.js code that you have pointed out that it is using intensively the REST API (apps & queries). In Couchbase the approach is different you need to use a client SDK to access the data and views (ideally). It is especially important to leverages the cluster capabilities of Couchbase.
So to create a backbone.js application you will need to create a server side layer that exposes all the operations (get/set) and views to your applications. If you are Javascript savvy you can create the server side part of your application using node.js but you can use any other technology see http://www.couchbase.com/develop.
Regards
Tug
Tug
@tgrall