AngularJS, FireBase, and Es6: Or how I came to love the bomb.

Presentor:

Chad King

Amature Front End Developer

What is FireBase?

  • Real Time App Platform
  • Store and Sync Data Instantly
  • NoSQL DataBase

Let's Get to the Code

http://development.chadtools.divshot.io/#/create-account

Demo App:

Repo:

https://github.com/BobbieBarker/chadtools

What is the Value in Using this?

Solve Common Problems with extraordinarily simple solutions:

Auth A User:

Require Auth on a Route

Deal With UnAuthed Users

FireBase is extremely light and expressive

I have a confession, all of that code is < Firebase 1.*

Prior to FB 1.0 consuming a FB looked like this:

In FireBase 1.0 $firebase was removed in favor of: $firebaseArray and $firebaseObject

The $firebase service was viewed as extra boiler plate that got in the way of what you really wanted to do; consume data quickly with expressive code. 

In FireBase 1.0.... with es6 consuming a Firebase resource looks a bit more like this:

AngularFire

By bobbiebarker

AngularFire

  • 1,070