building awesome apps with angular and firebase

Post on 04-Jun-2015

890 Views

Category:

Technology

5 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Building Awesome Appswith

&

Ben Drucker Founder, Valet.io !@bendrucker ben@valet.io

About Me

Founder

Evangelist

Why Angular?• Two way data binding

• Dirty checking vs. accessors

• Dependency injection

• Event architecture

• Angular is barely a framework

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>

GOOD!

var user = $scope.user;

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

Code Time!

Let’s Talk Firebase

3 Way Data Binding

Firebase Also Helps With:

• User management and authentication

• Validation

• Access rules

• Presence

• Transactions

Instead of REST…

Write lightweight Node workers

OR

Use and go server-less

Code Time!

top related