SlideShare a Scribd company logo
Angular2 + New Firebase in
Action Angular 2 +
in Action
@pekewake
@dvdchavarri
ANGULAR CAMP 2016
2
Rubén Chavarri
Who are we:
David Chavarri
Index
@dvdchavarri
ANGULAR CAMP 2016
 Introduction to FireBase
 Main Features
 Angular2 integration with AngularFire2
 Live demos
 Online publication
A powerful platform for building realtime apps
ANGULAR CAMP 2016
@dvdchavarri
Firebase Introduction
@dvdchavarri
ANGULAR CAMP 2016
 NoSQL Data-store
 Returns JSON from a
RESTful API
 Whenever data is updated.
It sends the update down
to every listening client
Main Features
@dvdchavarri
ANGULAR CAMP 2016
Angular2 + New Firebase in
Action
Firebase dashboard - https://console.firebase.google.com/
ANGULAR CAMP 2016
@dvdchavarri
First steps
@dvdchavarri
ANGULAR CAMP 2016
// Create a Furebase database reference
var ref = new Firebase ("https://angular-camp.firebaseio.com/");
// Save data
ref.set("Hello Angular Camp!");
// Sync data
ref.on("value", function(snapshot) {
console.log(snapshot.val());
});
// Push data
ref.push({ name : "WhatEver" });
@pekewake
ANGULAR CAMP 2016
+ Angular
Angular 1.x & Firebase
ANGULAR CAMP 2016
 $digest
 Array handling
 Authetication
@pekewake
Angular 2 & Firebase
ANGULAR CAMP 2016
 Observables!!!
 Zones
 Pipes
@pekewake
Pipes + Firebase = ♥
ANGULAR CAMP 2016
 Create a Firebase inside your pipe
 Stream data from Firebase
 All in the template
@pekewake
Angular2 + New Firebase in
Action
Live Demo – Login & Pipe & View
@pekewake
ANGULAR CAMP 2016
Lets put Firebase in Action ; )
From “basic draw canvas”
to “Interactive multiplayer board”
lets think in observables
@pekewake
ANGULAR CAMP 2016
Angular2 + New Firebase in
Action
@pekewake
ANGULAR CAMP 2016
“basic draw canvas”
angular cli project
canvas @ViewChild
mouse observable events
draw lines (color + move)
@pekewake ANGULAR CAMP 2016
“Interactive multiplayer board” https://angular2-fireboard-demo.firebaseapp.com/
How it works:
ANGULAR CAMP 2016
 Import firebase & AngularFire2 (last version)
 Add Firebase connection
 Pipe into Template
 Adapt observers
@pekewake
With a little more work
We´ll build…
an cool interactive multiplayer board
ANGULAR CAMP 2016
@pekewake
Angular2 + New Firebase in
Action
ANGULAR CAMP 2016
“Fireboard App” - https://angular2-fireboard.firebaseapp.com/
@pekewake
Improvements:
ANGULAR CAMP 2016
 Observer optimization (child_add)
 Multiplatform (desktops & phones)
 Github Authentication
 Users connected list & counter
 Components organization
 Material design
@pekewake
Firebase Publication
ANGULAR CAMP 2016
@pekewake
//build for production (concat, min…)
ng build –prod
//Publish from console
firebase deploy
Work in progress
ANGULAR CAMP 2016
 Router / DI integration
 More Pipes
 Interactive querying
 Route-based security
@pekewake
Firebase extra features
@dvdchavarri
ANGULAR CAMP 2016
 Develop
 Hosting
 Remote Config
 Test Lab
 Crash Analytics
 Grow
 Notification
 Dynamic Liks
 Earn
 AdMob
Thanks!@dvdchavarri@pekewake
25
Rubén Chavarri
Our dates:
David Chavarri
Sources
Example source code:
Example App:
https://github.com/Twiinlab/angular2-firebase-demo
Demo App:
https://github.com/Twiinlab/angular2-firebase
Resources & videos:
https://github.com/angular/angularfire2
Learn More:
Deep Dive on the Realtime Database:
youtu.be/cYinms8LurA
Take one of Codelabs:
Codelabs.developers.google.com/io2016
Angular2-fireboard in Firebase

More Related Content

PPTX
Angular2 + Ng-Lightning + Lightning Design System = Great Apps
PDF
Building a Lightning App with Angular Material Design
PPTX
Phonegap android angualr material design
PPTX
GAB2017 - Azure function to build serverless SharePoint apps
PPT
Building 3D Models with Skycatch & Autodesk Recap API's
PPTX
Angular 4 Introduction Tutorial
PPTX
PPTX
Angular 2
Angular2 + Ng-Lightning + Lightning Design System = Great Apps
Building a Lightning App with Angular Material Design
Phonegap android angualr material design
GAB2017 - Azure function to build serverless SharePoint apps
Building 3D Models with Skycatch & Autodesk Recap API's
Angular 4 Introduction Tutorial
Angular 2

What's hot (20)

PPSX
Angular 4 fronts
PPTX
Talk for DevFest 2021 - GDG Bénin
PDF
Quick introduction to Angular 4 for AngularJS 1.5 developers
PDF
Swagger UI
PDF
Angular Day 2018 (italy) - Keynote - The Amazing World of Angular 6
PDF
Developing a Demo Application with Angular 4 - J2I
PPTX
Serverless Orchestration with Azure Durable Functions
PPTX
.NET MAUI with .NET 6 (December 2021, Preview 10)
PPTX
Making share point rock with angular and react
PPTX
PPT on Angular 2 Development Tutorial
PPTX
Introduction to angular 2
PPTX
Why choose Angular 6?
PDF
Angular 10 course_content
PDF
Angular Meetup 1 - Angular Basics and Workshop
PPTX
Angular Ivy- An Overview
PPTX
Introduction to angular | Concepts and Environment setup
PPTX
Document your rest api using swagger - Devoxx 2015
ODP
Angular 6 - The Complete Guide
PDF
What is Angular version 4?
PDF
Make your animations perform well - Anna Migas - Codemotion Rome 2017
Angular 4 fronts
Talk for DevFest 2021 - GDG Bénin
Quick introduction to Angular 4 for AngularJS 1.5 developers
Swagger UI
Angular Day 2018 (italy) - Keynote - The Amazing World of Angular 6
Developing a Demo Application with Angular 4 - J2I
Serverless Orchestration with Azure Durable Functions
.NET MAUI with .NET 6 (December 2021, Preview 10)
Making share point rock with angular and react
PPT on Angular 2 Development Tutorial
Introduction to angular 2
Why choose Angular 6?
Angular 10 course_content
Angular Meetup 1 - Angular Basics and Workshop
Angular Ivy- An Overview
Introduction to angular | Concepts and Environment setup
Document your rest api using swagger - Devoxx 2015
Angular 6 - The Complete Guide
What is Angular version 4?
Make your animations perform well - Anna Migas - Codemotion Rome 2017
Ad

Viewers also liked (20)

PDF
Getting Started with Angular 2
PDF
Magnolia & Angular JS - an Approach for Javascript RIAs Delivered by a CMS
KEY
Intro to IndexedDB (Beta)
PDF
Angular2 - In Action
PDF
How Angular2 Can Improve Your AngularJS Apps Today!
PDF
Polymer Starter Kit
PDF
Chrome Dev Summit Highlights (NYC GDG Dec 2013)
PDF
Battle of Frameworks: Polymer - Meetup Paris Web Components - 2016-09
PDF
Apresentação Google I/O Extended Vitória
PDF
Polymer Elements: Tudo que você precisa saber para criar a web
PPTX
Material design
PDF
Workshop de Web Components
PDF
Polymer and Firebase: Componentizing the Web in Realtime
PDF
Angular js gtg-27feb2013
PDF
Um salve para evolução! construindo uma nova web com polymer
PDF
Web components
PDF
The Beautiful Simplicity of ES2015
PDF
Tech talk polymer
PDF
Introduction To Dart (GDG NY Jan 2014 Meetup)
PDF
WebApps com Web Components
Getting Started with Angular 2
Magnolia & Angular JS - an Approach for Javascript RIAs Delivered by a CMS
Intro to IndexedDB (Beta)
Angular2 - In Action
How Angular2 Can Improve Your AngularJS Apps Today!
Polymer Starter Kit
Chrome Dev Summit Highlights (NYC GDG Dec 2013)
Battle of Frameworks: Polymer - Meetup Paris Web Components - 2016-09
Apresentação Google I/O Extended Vitória
Polymer Elements: Tudo que você precisa saber para criar a web
Material design
Workshop de Web Components
Polymer and Firebase: Componentizing the Web in Realtime
Angular js gtg-27feb2013
Um salve para evolução! construindo uma nova web com polymer
Web components
The Beautiful Simplicity of ES2015
Tech talk polymer
Introduction To Dart (GDG NY Jan 2014 Meetup)
WebApps com Web Components
Ad

Similar to Angular2 + New Firebase in Action (20)

PPTX
Angular on Fire - ngAarhus
PPTX
Angular 4 with firebase
PPTX
Angular material,firebase, and angularfire
PPTX
Firebase ng2 zurich
PDF
AzovDevMeetup 2016 | Angular 2: обзор | Александр Шевнин
PDF
Angular - Chapter 6 - Firebase Integration
PPTX
Building A Webb App with Firebase and Angular 2
PPTX
Firebase - cloud based real time database
PDF
Creating real time applications with Angular and Firebase
PDF
Angular meetup 2 2019-08-29
PDF
Angular is one fire(base)! - Shmuela Jacobs
PDF
Angular, the New Angular JS
PDF
Serverless Angular, Material, Firebase and Google Cloud applications
PDF
Using redux and angular 2 with meteor
PDF
Using redux and angular 2 with meteor
PPTX
An afternoon with angular 2
PPTX
Ng firebasecrud
PDF
Angular 2 Crash Course
PPTX
Angular 18 course for begineers and experienced
PDF
Ng-Conf 2015 Report : AngularJS 1 & 2
Angular on Fire - ngAarhus
Angular 4 with firebase
Angular material,firebase, and angularfire
Firebase ng2 zurich
AzovDevMeetup 2016 | Angular 2: обзор | Александр Шевнин
Angular - Chapter 6 - Firebase Integration
Building A Webb App with Firebase and Angular 2
Firebase - cloud based real time database
Creating real time applications with Angular and Firebase
Angular meetup 2 2019-08-29
Angular is one fire(base)! - Shmuela Jacobs
Angular, the New Angular JS
Serverless Angular, Material, Firebase and Google Cloud applications
Using redux and angular 2 with meteor
Using redux and angular 2 with meteor
An afternoon with angular 2
Ng firebasecrud
Angular 2 Crash Course
Angular 18 course for begineers and experienced
Ng-Conf 2015 Report : AngularJS 1 & 2

More from Ruben Chavarri (7)

PDF
Construir una App con AI nunca fue tan fácil
PDF
Block chain lets kill the hype
PDF
T3chCoin: dando forma al mundo a base de tokens
PPTX
BitCoin, BlockChain, más criaturas fantásticas, y donde utilizarlas
PPTX
The cognitive side of IoT (TechSummit 2016)
PPTX
Introduccion WebComponents y Visual Studio
PDF
PartyRocking: Jugando con Javascript y Websockets
Construir una App con AI nunca fue tan fácil
Block chain lets kill the hype
T3chCoin: dando forma al mundo a base de tokens
BitCoin, BlockChain, más criaturas fantásticas, y donde utilizarlas
The cognitive side of IoT (TechSummit 2016)
Introduccion WebComponents y Visual Studio
PartyRocking: Jugando con Javascript y Websockets

Recently uploaded (20)

PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Geodesy 1.pptx...............................................
PPTX
Current and future trends in Computer Vision.pptx
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Sustainable Sites - Green Building Construction
PDF
PPT on Performance Review to get promotions
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
composite construction of structures.pdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
web development for engineering and engineering
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Lecture Notes Electrical Wiring System Components
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Geodesy 1.pptx...............................................
Current and future trends in Computer Vision.pptx
OOP with Java - Java Introduction (Basics)
Embodied AI: Ushering in the Next Era of Intelligent Systems
Sustainable Sites - Green Building Construction
PPT on Performance Review to get promotions
R24 SURVEYING LAB MANUAL for civil enggi
composite construction of structures.pdf
bas. eng. economics group 4 presentation 1.pptx
CH1 Production IntroductoryConcepts.pptx
Internet of Things (IOT) - A guide to understanding
web development for engineering and engineering
Operating System & Kernel Study Guide-1 - converted.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Lecture Notes Electrical Wiring System Components
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Mitigating Risks through Effective Management for Enhancing Organizational Pe...

Angular2 + New Firebase in Action

  • 1. Angular2 + New Firebase in Action Angular 2 + in Action @pekewake @dvdchavarri ANGULAR CAMP 2016
  • 2. 2 Rubén Chavarri Who are we: David Chavarri
  • 3. Index @dvdchavarri ANGULAR CAMP 2016  Introduction to FireBase  Main Features  Angular2 integration with AngularFire2  Live demos  Online publication
  • 4. A powerful platform for building realtime apps ANGULAR CAMP 2016 @dvdchavarri
  • 5. Firebase Introduction @dvdchavarri ANGULAR CAMP 2016  NoSQL Data-store  Returns JSON from a RESTful API  Whenever data is updated. It sends the update down to every listening client
  • 7. Angular2 + New Firebase in Action Firebase dashboard - https://console.firebase.google.com/ ANGULAR CAMP 2016 @dvdchavarri
  • 8. First steps @dvdchavarri ANGULAR CAMP 2016 // Create a Furebase database reference var ref = new Firebase ("https://angular-camp.firebaseio.com/"); // Save data ref.set("Hello Angular Camp!"); // Sync data ref.on("value", function(snapshot) { console.log(snapshot.val()); }); // Push data ref.push({ name : "WhatEver" });
  • 10. Angular 1.x & Firebase ANGULAR CAMP 2016  $digest  Array handling  Authetication @pekewake
  • 11. Angular 2 & Firebase ANGULAR CAMP 2016  Observables!!!  Zones  Pipes @pekewake
  • 12. Pipes + Firebase = ♥ ANGULAR CAMP 2016  Create a Firebase inside your pipe  Stream data from Firebase  All in the template @pekewake
  • 13. Angular2 + New Firebase in Action Live Demo – Login & Pipe & View @pekewake ANGULAR CAMP 2016
  • 14. Lets put Firebase in Action ; ) From “basic draw canvas” to “Interactive multiplayer board” lets think in observables @pekewake ANGULAR CAMP 2016
  • 15. Angular2 + New Firebase in Action @pekewake ANGULAR CAMP 2016 “basic draw canvas” angular cli project canvas @ViewChild mouse observable events draw lines (color + move)
  • 16. @pekewake ANGULAR CAMP 2016 “Interactive multiplayer board” https://angular2-fireboard-demo.firebaseapp.com/
  • 17. How it works: ANGULAR CAMP 2016  Import firebase & AngularFire2 (last version)  Add Firebase connection  Pipe into Template  Adapt observers @pekewake
  • 18. With a little more work We´ll build… an cool interactive multiplayer board ANGULAR CAMP 2016 @pekewake
  • 19. Angular2 + New Firebase in Action ANGULAR CAMP 2016 “Fireboard App” - https://angular2-fireboard.firebaseapp.com/ @pekewake
  • 20. Improvements: ANGULAR CAMP 2016  Observer optimization (child_add)  Multiplatform (desktops & phones)  Github Authentication  Users connected list & counter  Components organization  Material design @pekewake
  • 21. Firebase Publication ANGULAR CAMP 2016 @pekewake //build for production (concat, min…) ng build –prod //Publish from console firebase deploy
  • 22. Work in progress ANGULAR CAMP 2016  Router / DI integration  More Pipes  Interactive querying  Route-based security @pekewake
  • 23. Firebase extra features @dvdchavarri ANGULAR CAMP 2016  Develop  Hosting  Remote Config  Test Lab  Crash Analytics  Grow  Notification  Dynamic Liks  Earn  AdMob
  • 26. Sources Example source code: Example App: https://github.com/Twiinlab/angular2-firebase-demo Demo App: https://github.com/Twiinlab/angular2-firebase Resources & videos: https://github.com/angular/angularfire2 Learn More: Deep Dive on the Realtime Database: youtu.be/cYinms8LurA Take one of Codelabs: Codelabs.developers.google.com/io2016 Angular2-fireboard in Firebase

Editor's Notes

  • #3: Un poco de nuestras historia, que hemos aprendido por el camino Participado en el framework de desarrollo de aplicaciones orientado a componentes dentro del Banco Animados por aprender nuevos frameworks, asiduos frecuentes a meetups y hackathones
  • #4: Comenzaremos con una introducción para situarnos y que es esto de los Webcomponents. Aunque lo que nos interesa especialmente ver de forma práctica a través de ejemplos, costruiremos nuestro primer Webcomponents, veremos unos cuantos ejemplos de como se combinan y terminaremos viendo una aplicación.
  • #5: #DISCLAIMER const talk = best ? fav_famework : react; * No estamos aquí para decir que Webcomponents es el mejor, que es mejor que Angular, que React o Backbone. * Lo way, lo que mola es observar y decidir que es lo mejor para tu producto. Hay que ser responsable. Importante contar con una tecnología que tenga una comunidad detrás y que se esté implantando en clientes finales (Polymer en SalesForce, Github y por proyectos mas cercanos en ING y en otros principales bancos. * Los frameworks intentan abarcar todo pero no son capaces de apretar en todas sus partes. * Por situarnos: Webcomponents (librería) para cubrir necesidades especificas y Angular (es un framework) - Pregunta para Google: Porque dos frameworks diferentes? AngularJS y Polymer. Porque realmetne no existe la formula perfecta! - Angular? Es necesario adaptar toda la empresa para utilizar un framework.
  • #7: Comenzaremos con una introducción para situarnos y que es esto de los Webcomponents. Aunque lo que nos interesa especialmente ver de forma práctica a través de ejemplos, costruiremos nuestro primer Webcomponents, veremos unos cuantos ejemplos de como se combinan y terminaremos viendo una aplicación.
  • #9: Comenzaremos con una introducción para situarnos y que es esto de los Webcomponents. Aunque lo que nos interesa especialmente ver de forma práctica a través de ejemplos, costruiremos nuestro primer Webcomponents, veremos unos cuantos ejemplos de como se combinan y terminaremos viendo una aplicación.
  • #10: #DISCLAIMER const talk = best ? fav_famework : react; * No estamos aquí para decir que Webcomponents es el mejor, que es mejor que Angular, que React o Backbone. * Lo way, lo que mola es observar y decidir que es lo mejor para tu producto. Hay que ser responsable. Importante contar con una tecnología que tenga una comunidad detrás y que se esté implantando en clientes finales (Polymer en SalesForce, Github y por proyectos mas cercanos en ING y en otros principales bancos. * Los frameworks intentan abarcar todo pero no son capaces de apretar en todas sus partes. * Por situarnos: Webcomponents (librería) para cubrir necesidades especificas y Angular (es un framework) - Pregunta para Google: Porque dos frameworks diferentes? AngularJS y Polymer. Porque realmetne no existe la formula perfecta! - Angular? Es necesario adaptar toda la empresa para utilizar un framework.
  • #19: #DISCLAIMER const talk = best ? fav_famework : react; * No estamos aquí para decir que Webcomponents es el mejor, que es mejor que Angular, que React o Backbone. * Lo way, lo que mola es observar y decidir que es lo mejor para tu producto. Hay que ser responsable. Importante contar con una tecnología que tenga una comunidad detrás y que se esté implantando en clientes finales (Polymer en SalesForce, Github y por proyectos mas cercanos en ING y en otros principales bancos. * Los frameworks intentan abarcar todo pero no son capaces de apretar en todas sus partes. * Por situarnos: Webcomponents (librería) para cubrir necesidades especificas y Angular (es un framework) - Pregunta para Google: Porque dos frameworks diferentes? AngularJS y Polymer. Porque realmetne no existe la formula perfecta! - Angular? Es necesario adaptar toda la empresa para utilizar un framework.
  • #24: Comenzaremos con una introducción para situarnos y que es esto de los Webcomponents. Aunque lo que nos interesa especialmente ver de forma práctica a través de ejemplos, costruiremos nuestro primer Webcomponents, veremos unos cuantos ejemplos de como se combinan y terminaremos viendo una aplicación.