Makes the hard parts of app dev easy



Makes the hard parts of app dev easy

3 3


firebase-in-30-minutes

A general purpose Firebase overview that takes about 30 minutes

On Github mimming / firebase-in-30-minutes

Makes the hard parts of app dev easy

Jenny Tong

Google Cloud Platform Developer Advocate @MimmingCodes

Goodies to make the hard parts easy

Realtime Data
Authentication
Hosting

Firebase Realtime Database

Agenda

  • What realtime is
  • Why it's hard
  • How Firebase makes it easy
  • Live coding
  • Real world examples
  • Q&A

Realtime is

Data best served fresh

Realtime is where your bus is

https://wherebus.firebaseapp.com

Realtime is collaborative drawing

https://yaay.firebaseapp.com

Realtime data is game state

https://mmoasteroids.firebaseapp.com

Realtime is hard

So many servers :(

Realtime is hard

Complex transport
Unreliable networks
Multi-platform

Firebase makes it easy

Some JavaScript code

Write Data

var ref = new Firebase("https://hai.firebaseio-demo.com/");

ref.set("Hello, Developers!");

Read Data

ref.on("value", function (snapshot) {
  var data = snapshot.val();
  console.log(data);
});

Works with

Some facts about Firebase

  • Founded in 2011
  • Acquired by Google in October 2014
  • 160,000 developers
  • Over 1,000,000 concurrent connections

We <3 developers

Let's write some code!

It works for big projects too!

Citrix - GoToMeeting

Uses Firebase's realtime signaling, presence, and security rules

Citrix - Talkboard

Realtime, collaborative whiteboarding for teams

CBS

  • Built a realtime chat platform for reality TV series Big Brother
  • 50k concurrents at peak times, with over 27m chat message posted

More Case Studies

Chat and stream notifications

Pneumatic tubes

Realtime chat

We talked about this stuff

  • What realtime is
  • Why it's hard
  • How Firebase makes it easy
  • Live coding
  • Real world examples

The End