Top Banner
Firebase and AngularJS 29.8.2013 PragueJS Ladislav Prskavec @abtris 1
15

Firebase and AngularJS

Nov 18, 2014

Download

Technology

Nobackend alternatives and Firebase as example with AngularJS integration.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Firebase and AngularJS

Firebase  and  AngularJS

29.8.2013  -­‐  PragueJS

Ladislav  Prskavec@abtris

1

Page 2: Firebase and AngularJS

HOW

WHAT

WHY

2

Page 3: Firebase and AngularJS

3

Page 4: Firebase and AngularJS

client server store

Server sideClient side

HTTP

4

Page 5: Firebase and AngularJS

client

Server sideClient side

HTTP nobackendsolution

5

Page 7: Firebase and AngularJS

• Offline  by  default• Document-­‐based  storage  with  CouchDB:  no  building  database  schemas

• JavaScript  and  JSON  on  every  layer.  Even  the  database  queries  are  JS

• Flexible,  npm-­‐based  plugin  system  in  case  you  need  more  capability

• Send  mulV-­‐part  emails  with  aWachments  from  the  client• AuthenVcate  with  other  services  (TwiWer,  GitHub,  etc.)

7

Page 8: Firebase and AngularJS

8

Page 10: Firebase and AngularJS

Firebase Integrations

https://www.firebase.com/docs/integrations.html10

Page 12: Firebase and AngularJS

http://angularfire.com/

12

Page 13: Firebase and AngularJS

http://angularfire.com/tutorial/#gettingstarted

TUTORIAL

13

Page 14: Firebase and AngularJS

Security Rules

https://www.firebase.com/docs/security/security-rules.html

{ "rules": { "users": { "$user": { ".read": "$user == auth.username", ".write": "$user == auth.username" } } }}

14

Page 15: Firebase and AngularJS

http://angularfire.com/documentation.html#authentication

Authentication

Firebase Simple Login

15