backbone.couchdb.js's People
Forkers
timjb anateus henchan gahen pdelanauze jordoncm mondaykadiri inoperable web5design kozborn evidenceprime derekjwilliams kleopatra999 fishtank-xx timexpeachtreebackbone.couchdb.js's Issues
Method for creating model instances not exactly what I expected
HI there. I'm new to Backbone so my assumptions might be wrong. I was expecting to be able to ....
var Group = Backbone.couch.Model.extend({_db:Backbone.couch.db('myDatabaseName')})
var gOne = new Group("someCouchDocId")
gOne.fetch()
The above results in a call to .openDoc() with no defined ID... So we actually have to put the ID of the model instance in the model ...
var Group = Backbone.couch.Model.extend({id:"someCouchDocId", _db:Backbone.couch.db('myDatabaseName')})
var gOne = new Group()
gOne.fetch()
Am I doing something wrong, or is this the expected behavior, or is there a bug somewhere? I'm not sure...
Any javascript examples of using backbone.couchdb.js?
I'm new to Backbone so this connector immediately appeals to me because of its simplicity. I think I'm starting to understand it but not have any example of how its used is making this a steep learning curve. Unfortunately I don't speak coffee script so the grizzly example isn't very useful to me.
Does anyone know of an example of this library being used in the context of javascript?
.couchapprc should be deleted
I'd consider updating your remote couch passwords as well.
Cannot read property 'update' of undefined
Hey guys,
Backbone 0.9.10 seems to have broken part of backbone.couch.collection.fetch(). I get an error saying "Uncaught TypeError: Cannot read property 'update' of undefined" when i try to run a fetch() from a collection. Also the fetch succeeds, i get a response.
If i use 0.9.2 (the one in the repo) then there is no issue but i thought i would flag this with you.
Cheers
MB
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.