building awesome apps with angular and firebase

11
Building Awesome Apps with & Ben Drucker Founder, Valet.io @bendrucker [email protected]

Upload: ben-drucker

Post on 04-Jun-2015

883 views

Category:

Technology


5 download

TRANSCRIPT

Page 1: Building Awesome Apps with Angular and Firebase

Building Awesome Appswith

&

Ben Drucker Founder, Valet.io !@bendrucker [email protected]

Page 2: Building Awesome Apps with Angular and Firebase

About Me

Founder

Evangelist

Page 3: Building Awesome Apps with Angular and Firebase

Why Angular?• Two way data binding

• Dirty checking vs. accessors

• Dependency injection

• Event architecture

• Angular is barely a framework

Page 4: Building Awesome Apps with Angular and Firebase

BAD!

var user = { firstName: $('#first-name').val(), lastName: $('#last-name').val(), username: $('#username').val() };

<form> <input id="first-name" /> <input id="last-name" /> <input id="username" /> </form>

Page 5: Building Awesome Apps with Angular and Firebase

GOOD!

var user = $scope.user;

<form> <input ng-model=“user.first” /> <input ng-model=“user.last” /> <input ng-model=“user.username” /> </form>

Page 6: Building Awesome Apps with Angular and Firebase

Code Time!

Page 7: Building Awesome Apps with Angular and Firebase

Let’s Talk Firebase

Page 8: Building Awesome Apps with Angular and Firebase

3 Way Data Binding

Page 9: Building Awesome Apps with Angular and Firebase

Firebase Also Helps With:

• User management and authentication

• Validation

• Access rules

• Presence

• Transactions

Page 10: Building Awesome Apps with Angular and Firebase

Instead of REST…

Write lightweight Node workers

OR

Use and go server-less

Page 11: Building Awesome Apps with Angular and Firebase

Code Time!