Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Firebase

No description
by

Ulrich Kuhnhardt

on 5 August 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Firebase

Fir
e
base

JSON
URL
REST
Real Time
Notifications

Persistance
Sync
Servers
are optional
Firebase
storage
control

Servers are Optional
shared
sync'ed
entirely client-side code
synchronisation
Integration
Web
var todoRef = new Firebase('https://Sample.firebase.com/todolist');

todoRef.child('1').set('Call Fred');
todoRef.child('2').set('Watch Mad Men');
var todoRef = new Firebase('https://Sample.firebase.com/todolist');
dataRef.on('value', function(snapshot) {
alert('There are ' + snapshot.val().length+' things to do');
});
todoRef.push().set({user_id: 'wilma', text: 'Call Fred'});
todoRef.push({user_id: 'Fred', text: 'Watch Mad Men'});
var valueRef = new Firebase('
https://Sample.firebase.com/concurrentValue'
);
valueRef.transaction(function(current_value) {
return current_value + 1;
});
Transactions
Write
Read
Node
$ npm install firebase
var Firebase = require('firebase');
var myRootRef = new Firebase('https://sample.firebase.com/');
REST
URL as a REST endpoint
curl https://Sample.firebase.com/users/jack/name.json
Backbone
https://github.com/firebase/backfire
var TodoList = Backbone.Firebase.Collection.extend({
model: Todo,

firebase
: new Firebase(
"https://sample.firebaseio.com"
)
});
fetch() or sync() are ignored.
Data
THANKS
Ulrich Kuhnhardt
@dev_doctor
Full transcript