firebase-in-10-minutes



firebase-in-10-minutes

0 0


firebase-in-10-minutes


On Github mimming / firebase-in-10-minutes

Makes realtime multiplayer stuff easy

Created by Jenny Tong / @BaconatedGeek

Agenda

  • What is realtime data
  • Why it's hard
  • How Firebase solves it

Realtime data is

Data best served fresh

Realtime data is

Where your Muni bus is

Realtime data is

Collaborative drawing

http://tinyurl.com/gxdraws

Realtime data is

Game state

http://tinyurl.com/gxasteroids

Realtime data is hard

Many problems to solve.

Complex transport
Unreliable networks
Multi-platform

Firebase makes it easy

Cloud noSql database

Some JavaScript Code

Write Data

var ref = new Firebase("https://gxdev.firebaseio.com/");

ref.set("Hello GXdev!");

Read Data

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

Works with

Other Helpful Goodies

DataOpen Data Sets
Auth & SecurityHosting

The End

Questions? Want swag? Come say hi to me!