The Realtime Backend
for your App
Realtime data denotes information that is delivered immediately after collection
Push data rather than request it
Realtime data gives your users a premium experience
Realtime data is the best data
The Realtime Backend
for your App
NoSQL data-store
Returns JSON from a RESTful API
Whenever data is updated in Firebase, it sends the update down to every listening client
SDKs
var ref = new Firebase('https://hack-a-ton.firebaseio.com/realtime'); ref.set('All the things');
var label = document.getElementById('labelRealtime'); var ref = new Firebase('https://hack-a-ton.firebaseio.com/realtime'); ref.on('value', function(snap) { label.innerText = snap.val(); });
AngularFire
AngularFire
app.controller('MainCtrl', function($scope, $firebase) { var ref = new Firebase('https://hack-a-ton.firebaseio.com/items'); $scope.items = $firebase(ref).$asArray(); });
<div ng-repeat="item in items">{{item.name}}</div>
The user doesn't care how many databases you have
What matters is that your app is fast and enjoyable
Realtime data is pushed, not requested
Realtime is a premium experience
Firebase makes realtime easy
AngularFire <3 Ionic