BackFire is a set of Backbone bindings for Firebase. The bindings let you use a special Collection type that will automatically synchronize all models contained within it to Firebase, without the need to make explicit calls to save or sync.
Questions tagged [backfire]
18 questions
4
votes
0 answers
Is there a good non-US based alternative to Firebase?
Question has been asked by another person but not answered:
https://stackoverflow.com/questions/22134739/is-there-a-good-alternative-to-firebase-for-realtime-apps-with-backbonejs
I'm using Firebase and Backbone (Backfire) to create a social…

user254883
- 599
- 1
- 5
- 14
4
votes
2 answers
How do I know when my backfire collection has finished loading from the server?
I'm playing with firebase and backfire. The example doesn't explicitly say, but I've figured out that it loads data from the server when you instantiate an instance of your Backbone.Firebase.Collection. E.g.:
var TodoList =…

sprugman
- 19,351
- 35
- 110
- 163
2
votes
1 answer
How to use Firebase Backfire with Browserify?
I'm trying to set up a project using Firebase's Backfire (for Backbone) with Browserify/Gulp but running into issues. I did npm install firebase and npm install backfire, then in my Models.js module I'm trying..
// ...
var Firebase =…

pete
- 2,739
- 4
- 32
- 46
2
votes
1 answer
Firebase Backfire: model.set() does not sync to Firebase
I'm new to Backbone and Firebase. I'm using Backfire, have a collection:
var UsersCollection = Backbone.Firebase.Collection.extend({
model: UserModel,
firebase: new Firebase( "https://xxxxxx.firebaseio.com/users" ),
});
The model itself is…

pete
- 2,739
- 4
- 32
- 46
2
votes
1 answer
Firebase + backbone: difference between collection.create() and collection.push()?
I see a difference using create() and push() on collections using Backfire and wonder if this is a misunderstanding on my part, or a bug.
I have an Animal model and Animals collection as below. Normally, the collection is created with an options…

Mike Franklin
- 23
- 3
2
votes
1 answer
Firebase.update failed: First argument contains a cyclic object value
I'm using BackFire's Backbone.Firebase.Collection. I have listeners on an input field for updating the model. The value is validated and then the model is updated through
this.model.save({'title': val});
While the data does get updated at…

Shashank Mehta
- 120
- 6
1
vote
1 answer
Firebase and Backbone
I am trying to build a basic app using Backbone and Firebase:
http://jsfiddle.net/C9wew/6324/
var counter = 0;
var Box = Backbone.Firebase.Model.extend({
defaults: {
number: 0
},
//firebase: new…

fusilli.jerry89
- 309
- 3
- 11
1
vote
1 answer
Firebase Backfire Quick Start Guide Doesn't work
I am trying to implement this very basic Firebase Backfire example application. I have an html page exactly as described with that exact JavaScript. Nothing is happening when I click the Add button.
Am I missing something very obvious here or is…

szxnyc
- 2,495
- 5
- 35
- 46
1
vote
0 answers
Backfire.js Model not getting attributes
Using backfire (backbone.js and firebase.js) im having issues getting my data into the model.
Im trying to populate a model once the user has authenticated (so i know which user to get, duh)
var UserModel = Backbone.Model.extend({
firebase: '',
…

echohtp
- 146
- 4
1
vote
1 answer
Backfire (Backbone-Firebase) Collection not Loaded
So basically, I created a Backfire app. As soon as the page is loaded, I am iterating over my Backbone.Firebase.Collection instance.
And then rendering the results onto the page... the problem is that obviously the collection instance does not…

user3292094
- 15
- 4
1
vote
1 answer
Performing a fetch on a model using the Backfire bindings does not retrieve any data
Using the officially supported backbone.js bindings for Firebase I cannot seem to retrieve any data from a model in my Firebase.
For example, I want to fetch all of the information for user #2 stored under the Firebase…

Giles Tamplin
- 93
- 1
- 7
1
vote
2 answers
Backbone.js binding (BackFire) model destroy function not working
I get the following error when i try to call destroy function to my Backbone Model:
Uncaught TypeError: Cannot call method 'apply' of undefined backbone-firebase.js:126
Backbone.Firebase.sync backbone-firebase.js:126
Backbone.sync…

kostas trichas
- 2,923
- 7
- 28
- 37
0
votes
1 answer
Data does not save in Backbone app using 'Firebase.Collection'
I've been migrating my app from RethinkDb to Firebase and have run into a wall trying to get my collections to save when calling collection.create(). The odd thing is, I have two instances of Backbone.Firebase.Collection in my app and one of them is…

Brad Dickason
- 492
- 4
- 10
0
votes
1 answer
How do you pass a variable limit into a Backbone.Firebase.Collection?
The firebase documentation here (https://github.com/firebase/backfire#backbonefirebasecollection) mentions that you can apply a limit to a Backbone.Firebase.Collection:
var Messages = Backbone.Firebase.Collection.extend({
firebase: new…

dtt101
- 2,151
- 25
- 21
0
votes
0 answers
Commonjs submodule definition
I have one library/object that is compatible with commonjs, and I have another library/object that adds itself to the first library/object.
Do I need to manually wrap the second library for commonjs or should it be accessible through the first…

SankJoe
- 1
- 1