GETTING STARTED WITH
FIREBASE
Dhrumil Shah / @dhuma1981
Slide 2
Slide 2 text
The Realtime Backend
for your App
Slide 3
Slide 3 text
Creating an app shouldn’t require
managing complex
infrastructure.
Slide 4
Slide 4 text
THE FULL STACK
Slide 5
Slide 5 text
The full stack is never really that
simple
Slide 6
Slide 6 text
… and neither is the client side
Slide 7
Slide 7 text
The user doesn’t care about
your backend
Slide 8
Slide 8 text
THE USER EXPECTS
Speed
Offline
Multi-platform
Simple Authentication
Slide 9
Slide 9 text
FIREBASE
The Realtime Backend
for your App
Slide 10
Slide 10 text
THE FIREBASE BACKEND
Slide 11
Slide 11 text
FORGET THE SERVER
Firebase apps can run in client-side code only
Slide 12
Slide 12 text
No content
Slide 13
Slide 13 text
CLOUD DATABASE
NoSQL data-store
Returns JSON from a RESTful API
Slide 14
Slide 14 text
No content
Slide 15
Slide 15 text
REALTIME DATA
Whenever data is updated in Firebase, it sends
the update down to every listening client
Slide 16
Slide 16 text
No content
Slide 17
Slide 17 text
OFFLINE
Slide 18
Slide 18 text
INTERMITTENT OFFLINE
What happens when you go through a tunnel?
Firebase clients store a local cache of your data.
When the user goes offline, the app still works as
expected with the local cache.
Slide 19
Slide 19 text
ENTENDED OFFLINE
What happens when you go on a flight?
On mobile, Firebase persists data to a local store.
The app will continue to work even across app
restarts.
Slide 20
Slide 20 text
ONE LINE OF CODE
Firebase.getDefaultConfig().setPersistenceEnabled(true);
Slide 21
Slide 21 text
No content
Slide 22
Slide 22 text
Firebase supports several forms of
authentication
Email & Password
Google
Twitter
Facebook
Github
Anonymous
… and even custom backends
Slide 23
Slide 23 text
WELL DOCUMENTED
Slide 24
Slide 24 text
FIREBASE META-DATA
224,603 registered developers
1M concurrent users on Firebase sites
Joined Google October, 2014
Slide 25
Slide 25 text
FOCUS ON YOUR APP
The user doesn’t care about the backend
What matters is that your app is
fast and enjoyable
Slide 26
Slide 26 text
ASK ME
QUESTIONS
Dhrumil Shah / @dhuma1981
Android Developer / @9Series Solutions Pvt. Ltd
Co-organizer / @GDG Ahmedabad
http://www.dhuma1981.in