Questions tagged [backbonefire]

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.

9 questions
3
votes
1 answer

Firebase & Backbone: Trouble using uid as a key

I created logins and unique todo lists per user using Firebase and TodoMVC as proof of concept for another project. I'm using Firebase and Google to log users in and when things are working, they get a unique persistent todo list. Everything works…
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

Does BackboneFire support non-AutoSync collection with AutoSync model

Basically I want this set up: var Game = Backbone.Model.extend({ defaults: { }, autoSync: true }); var Games = Backbone.Firebase.Collection.extend({ url: 'https://.firebaseio.com/games', autoSync: false, model:…
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
1
vote
1 answer

How do I change the Firebase URL in a backbone.js application

I'm creating a backbone application that is divided into months. In my firebase the month is the parent node, and under that I have key\value pairs that I need. What I can't figure out is how to change the month and trigger everything updating. eg…
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…
0
votes
1 answer

how to display fetch data form firebase in backbone?

I am learning backbone.js. I am using firebase for API. I can't able to display data. Can anyone help me please? I follow instruction mention on https://github.com/firebase/backbonefire. var realtimeList = new…
0
votes
1 answer

Ckeditor helper error in bonefire framework

I tried to integrate ck editor for my project. But it show some error massages. I can't config those errors. Controller public function ckeditor() $this->load->helper('ckeditor_helper'); //print_r($this->load->helper('ckeditor_helper')); …
amaya
  • 55
  • 10
0
votes
1 answer

How to delete model from backbone collection using Firebase

I have a collection from which I would like to delete a model and have it sync in real-time: var ClientCollection = Backbone.Firebase.Collection.extend({ model: Client, url: "https://.firebaseio.com", autoSync: true }); I…
Michael Doye
  • 8,063
  • 5
  • 40
  • 56