SlideShare a Scribd company logo
Firebase	
  and	
  AngularJS
29.8.2013	
  -­‐	
  PragueJS
Ladislav	
  Prskavec
@abtris
1
HOW
WHAT
WHY
2
3
client server store
Server sideClient side
HTTP
4
client
Server sideClient side
HTTP nobackend
solution
5
http://nobackend.org/solutions.html
•Backendless
•deployd
•Firebase
•Hoodie	
  
•Kinvey
•Parse	
  (Facebook)
•remoteStorage
•Sockethub
6
• 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
8
Firebase
www.firebase.com
REST
http://firebase.github.io/
9
Firebase Integrations
https://www.firebase.com/docs/integrations.html
10
https://www.firebase.com/how-it-works.html
11
http://angularfire.com/
12
http://angularfire.com/tutorial/#gettingstarted
TUTORIAL
13
Security Rules
https://www.firebase.com/docs/security/security-rules.html
{
"rules": {
"users": {
"$user": {
".read": "$user == auth.username",
".write": "$user == auth.username"
}
}
}
}
14
http://angularfire.com/documentation.html#authentication
Authentication
Firebase Simple Login
15

More Related Content

Firebase and AngularJS