SlideShare ist ein Scribd-Unternehmen logo
1 von 26
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

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

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

Andere mochten auch

Andere mochten auch (20)

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

Ähnlich wie Angular2 + New Firebase in Action

Ähnlich wie Angular2 + New Firebase in Action (20)

Angular is one fire(base)! - Shmuela Jacobs
Angular is one fire(base)! - Shmuela JacobsAngular is one fire(base)! - Shmuela Jacobs
Angular is one fire(base)! - Shmuela Jacobs
 
Firebase Adventures - Real time platform for your apps
Firebase Adventures - Real time platform for your appsFirebase Adventures - Real time platform for your apps
Firebase Adventures - Real time platform for your apps
 
Angular for rookies MS TechDays 2017
Angular for rookies MS TechDays 2017Angular for rookies MS TechDays 2017
Angular for rookies MS TechDays 2017
 
Angular2 & Native Script GDG DevFest 2016
Angular2 & Native Script GDG DevFest 2016Angular2 & Native Script GDG DevFest 2016
Angular2 & Native Script GDG DevFest 2016
 
Making shiny shine brighter
Making shiny shine brighterMaking shiny shine brighter
Making shiny shine brighter
 
Angular is on Fire(base) - Shmuela Jacobs - Codemotion Amsterdam 2017
Angular is on Fire(base) - Shmuela Jacobs - Codemotion Amsterdam 2017Angular is on Fire(base) - Shmuela Jacobs - Codemotion Amsterdam 2017
Angular is on Fire(base) - Shmuela Jacobs - Codemotion Amsterdam 2017
 
Using Angular-CLI to Deploy an Angular 2 App Using Firebase in 30 Minutes
Using Angular-CLI to Deploy an Angular 2 App Using Firebase in 30 MinutesUsing Angular-CLI to Deploy an Angular 2 App Using Firebase in 30 Minutes
Using Angular-CLI to Deploy an Angular 2 App Using Firebase in 30 Minutes
 
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)
 
Myths of Angular 2: What Angular Really Is
Myths of Angular 2: What Angular Really IsMyths of Angular 2: What Angular Really Is
Myths of Angular 2: What Angular Really Is
 
Using hapi plugins to version your API (hapiDays 2014)
Using hapi plugins to version your API (hapiDays 2014)Using hapi plugins to version your API (hapiDays 2014)
Using hapi plugins to version your API (hapiDays 2014)
 
Spring Cloud Netflixを使おう #jsug
Spring Cloud Netflixを使おう #jsugSpring Cloud Netflixを使おう #jsug
Spring Cloud Netflixを使おう #jsug
 
What's New in Angular 4 | Angular 4 Features | Angular 4 Changes | Angular Tu...
What's New in Angular 4 | Angular 4 Features | Angular 4 Changes | Angular Tu...What's New in Angular 4 | Angular 4 Features | Angular 4 Changes | Angular Tu...
What's New in Angular 4 | Angular 4 Features | Angular 4 Changes | Angular Tu...
 
The productive developer guide to Angular 2
The productive developer guide to Angular 2The productive developer guide to Angular 2
The productive developer guide to Angular 2
 
Using JHipster for generating Angular/Spring Boot apps
Using JHipster for generating Angular/Spring Boot appsUsing JHipster for generating Angular/Spring Boot apps
Using JHipster for generating Angular/Spring Boot apps
 
Using Jhipster 4 for Generating Angular/Spring Boot Apps
Using Jhipster 4 for Generating Angular/Spring Boot AppsUsing Jhipster 4 for Generating Angular/Spring Boot Apps
Using Jhipster 4 for Generating Angular/Spring Boot Apps
 
Angular 6 Form Validation with Material
Angular 6 Form Validation with MaterialAngular 6 Form Validation with Material
Angular 6 Form Validation with Material
 
Firebase analytics event_201607
Firebase analytics event_201607Firebase analytics event_201607
Firebase analytics event_201607
 
Firebase Adventures - Going above and beyond in Realtime
Firebase Adventures - Going above and beyond in RealtimeFirebase Adventures - Going above and beyond in Realtime
Firebase Adventures - Going above and beyond in Realtime
 
Angular JS 2_0 BCS CTO_in_Res V3
Angular JS 2_0 BCS CTO_in_Res V3Angular JS 2_0 BCS CTO_in_Res V3
Angular JS 2_0 BCS CTO_in_Res V3
 
What is new in Firebase?
What is new in Firebase?What is new in Firebase?
What is new in Firebase?
 

Mehr von Ruben Chavarri

Mehr von Ruben Chavarri (7)

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

Kürzlich hochgeladen

Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdf
Kamal Acharya
 
Teachers record management system project report..pdf
Teachers record management system project report..pdfTeachers record management system project report..pdf
Teachers record management system project report..pdf
Kamal Acharya
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DrGurudutt
 
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
MohammadAliNayeem
 

Kürzlich hochgeladen (20)

E-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are presentE-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are present
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoning
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdf
 
Theory for How to calculation capacitor bank
Theory for How to calculation capacitor bankTheory for How to calculation capacitor bank
Theory for How to calculation capacitor bank
 
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
 
Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdf
 
ANSI(ST)-III_Manufacturing-I_05052020.pdf
ANSI(ST)-III_Manufacturing-I_05052020.pdfANSI(ST)-III_Manufacturing-I_05052020.pdf
ANSI(ST)-III_Manufacturing-I_05052020.pdf
 
BURGER ORDERING SYSYTEM PROJECT REPORT..pdf
BURGER ORDERING SYSYTEM PROJECT REPORT..pdfBURGER ORDERING SYSYTEM PROJECT REPORT..pdf
BURGER ORDERING SYSYTEM PROJECT REPORT..pdf
 
Teachers record management system project report..pdf
Teachers record management system project report..pdfTeachers record management system project report..pdf
Teachers record management system project report..pdf
 
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
 
Low rpm Generator for efficient energy harnessing from a two stage wind turbine
Low rpm Generator for efficient energy harnessing from a two stage wind turbineLow rpm Generator for efficient energy harnessing from a two stage wind turbine
Low rpm Generator for efficient energy harnessing from a two stage wind turbine
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 
Lect_Z_Transform_Main_digital_image_processing.pptx
Lect_Z_Transform_Main_digital_image_processing.pptxLect_Z_Transform_Main_digital_image_processing.pptx
Lect_Z_Transform_Main_digital_image_processing.pptx
 
Object Oriented Programming OOP Lab Manual.docx
Object Oriented Programming OOP Lab Manual.docxObject Oriented Programming OOP Lab Manual.docx
Object Oriented Programming OOP Lab Manual.docx
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
 
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 

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

Hinweis der Redaktion

  1. 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
  2. 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.
  3. #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.
  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. 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.
  6. #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. #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.
  8. 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.