Submit Search
Upload
Polymer - Una bella historia de amor
•
0 likes
•
236 views
Israel Blancas
Follow
Charla para el DevFest de Córdoba 2016 sobre Polymer
Read less
Read more
Technology
Report
Share
Report
Share
1 of 55
Download now
Download to read offline
Recommended
De 0 a Polymer
De 0 a Polymer
Israel Blancas
Polymer - El fin a tus problemas con el FrontEnd
Polymer - El fin a tus problemas con el FrontEnd
Israel Blancas
Building a Secure App with Google Polymer and Java / Spring
Building a Secure App with Google Polymer and Java / Spring
sdeeg
Polymer and web component
Polymer and web component
Imam Raza
Frontend Crash Coarse 09/28
Frontend Crash Coarse 09/28
Ivy Rueb
Polymer - Welcome to the Future @ PyGrunn 08/07/2014
Polymer - Welcome to the Future @ PyGrunn 08/07/2014
Spyros Ioakeimidis
Polymer
Polymer
jskvara
How to build a web application with Polymer
How to build a web application with Polymer
Sami Suo-Heikki
Recommended
De 0 a Polymer
De 0 a Polymer
Israel Blancas
Polymer - El fin a tus problemas con el FrontEnd
Polymer - El fin a tus problemas con el FrontEnd
Israel Blancas
Building a Secure App with Google Polymer and Java / Spring
Building a Secure App with Google Polymer and Java / Spring
sdeeg
Polymer and web component
Polymer and web component
Imam Raza
Frontend Crash Coarse 09/28
Frontend Crash Coarse 09/28
Ivy Rueb
Polymer - Welcome to the Future @ PyGrunn 08/07/2014
Polymer - Welcome to the Future @ PyGrunn 08/07/2014
Spyros Ioakeimidis
Polymer
Polymer
jskvara
How to build a web application with Polymer
How to build a web application with Polymer
Sami Suo-Heikki
HTML5 Overview
HTML5 Overview
reybango
Html5 Overview
Html5 Overview
Owen Williams
Frontend Crash Course
Frontend Crash Course
Aaron Lamphere
Web Components
Web Components
FITC
Enhance your WordPress development with Twig through Clarkson - WordCamp Barc...
Enhance your WordPress development with Twig through Clarkson - WordCamp Barc...
Jaime Martínez
Google Polymer Introduction
Google Polymer Introduction
David Price
Polymer presentation in Google HQ
Polymer presentation in Google HQ
Harshit Pandey
Razor into the Razor'verse
Razor into the Razor'verse
Ed Charbeneau
Introduction to Web Components
Introduction to Web Components
Fu Cheng
HTML5: An Overview
HTML5: An Overview
Nagendra Um
Codemotion Rome 2016 - Polymer
Codemotion Rome 2016 - Polymer
Maurizio Mangione
Google’s PRPL Web development pattern
Google’s PRPL Web development pattern
Jeongkyu Shin
Polymer vs other libraries (Devfest Ukraine 2015)
Polymer vs other libraries (Devfest Ukraine 2015)
jskvara
Quanto è sicuro il tuo wordpress?
Quanto è sicuro il tuo wordpress?
GGDBologna
Goodbye JavaScript Hello Blazor
Goodbye JavaScript Hello Blazor
Ed Charbeneau
INTERNSHIP BASED ON PHP-MY SQL-WORDPRESS-CODE IGNITOR-ANDROID-IOS DEV.-JAVA (...
INTERNSHIP BASED ON PHP-MY SQL-WORDPRESS-CODE IGNITOR-ANDROID-IOS DEV.-JAVA (...
DOCC Group
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Mahbubur Rahman
Web Components
Web Components
FITC
HTML5 for Rich User Experience
HTML5 for Rich User Experience
Mahbubur Rahman
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-13-66
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-13-66
Ivy Rueb
Polymer science: preparation and uses of polymers
Polymer science: preparation and uses of polymers
VARSHAAWASAR
Polymer ppt
Polymer ppt
Malaviya National Institute Of Technology Jaipur
More Related Content
What's hot
HTML5 Overview
HTML5 Overview
reybango
Html5 Overview
Html5 Overview
Owen Williams
Frontend Crash Course
Frontend Crash Course
Aaron Lamphere
Web Components
Web Components
FITC
Enhance your WordPress development with Twig through Clarkson - WordCamp Barc...
Enhance your WordPress development with Twig through Clarkson - WordCamp Barc...
Jaime Martínez
Google Polymer Introduction
Google Polymer Introduction
David Price
Polymer presentation in Google HQ
Polymer presentation in Google HQ
Harshit Pandey
Razor into the Razor'verse
Razor into the Razor'verse
Ed Charbeneau
Introduction to Web Components
Introduction to Web Components
Fu Cheng
HTML5: An Overview
HTML5: An Overview
Nagendra Um
Codemotion Rome 2016 - Polymer
Codemotion Rome 2016 - Polymer
Maurizio Mangione
Google’s PRPL Web development pattern
Google’s PRPL Web development pattern
Jeongkyu Shin
Polymer vs other libraries (Devfest Ukraine 2015)
Polymer vs other libraries (Devfest Ukraine 2015)
jskvara
Quanto è sicuro il tuo wordpress?
Quanto è sicuro il tuo wordpress?
GGDBologna
Goodbye JavaScript Hello Blazor
Goodbye JavaScript Hello Blazor
Ed Charbeneau
INTERNSHIP BASED ON PHP-MY SQL-WORDPRESS-CODE IGNITOR-ANDROID-IOS DEV.-JAVA (...
INTERNSHIP BASED ON PHP-MY SQL-WORDPRESS-CODE IGNITOR-ANDROID-IOS DEV.-JAVA (...
DOCC Group
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Mahbubur Rahman
Web Components
Web Components
FITC
HTML5 for Rich User Experience
HTML5 for Rich User Experience
Mahbubur Rahman
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-13-66
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-13-66
Ivy Rueb
What's hot
(20)
HTML5 Overview
HTML5 Overview
Html5 Overview
Html5 Overview
Frontend Crash Course
Frontend Crash Course
Web Components
Web Components
Enhance your WordPress development with Twig through Clarkson - WordCamp Barc...
Enhance your WordPress development with Twig through Clarkson - WordCamp Barc...
Google Polymer Introduction
Google Polymer Introduction
Polymer presentation in Google HQ
Polymer presentation in Google HQ
Razor into the Razor'verse
Razor into the Razor'verse
Introduction to Web Components
Introduction to Web Components
HTML5: An Overview
HTML5: An Overview
Codemotion Rome 2016 - Polymer
Codemotion Rome 2016 - Polymer
Google’s PRPL Web development pattern
Google’s PRPL Web development pattern
Polymer vs other libraries (Devfest Ukraine 2015)
Polymer vs other libraries (Devfest Ukraine 2015)
Quanto è sicuro il tuo wordpress?
Quanto è sicuro il tuo wordpress?
Goodbye JavaScript Hello Blazor
Goodbye JavaScript Hello Blazor
INTERNSHIP BASED ON PHP-MY SQL-WORDPRESS-CODE IGNITOR-ANDROID-IOS DEV.-JAVA (...
INTERNSHIP BASED ON PHP-MY SQL-WORDPRESS-CODE IGNITOR-ANDROID-IOS DEV.-JAVA (...
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Web Components
Web Components
HTML5 for Rich User Experience
HTML5 for Rich User Experience
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-13-66
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-13-66
Viewers also liked
Polymer science: preparation and uses of polymers
Polymer science: preparation and uses of polymers
VARSHAAWASAR
Polymer ppt
Polymer ppt
Malaviya National Institute Of Technology Jaipur
The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17
The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17
GreeceJS
Google Polymer Framework
Google Polymer Framework
Kostas Karolemeas
Polymers
Polymers
sportymaaz
Polymers and their properties
Polymers and their properties
ripestone_ho
Identifying Your Skills Sets
Identifying Your Skills Sets
Scott Garrett
Los Colores en español
Los Colores en español
Brenda Eubanks
The British and Spanish law about bulliying 2017
The British and Spanish law about bulliying 2017
actgorofe
Presentaciones open-office-impress
Presentaciones open-office-impress
Emilio Bernal
2014 Resume
2014 Resume
Terri Eddy
Food chains
Food chains
jabernethy
Food chain story
Food chain story
jabernethy
My food chain story
My food chain story
jabernethy
Polymer Chemistry
Polymer Chemistry
Md. Azizul Haque Juel
Polymer Elements: Tudo que você precisa saber para criar a web
Polymer Elements: Tudo que você precisa saber para criar a web
Beto Muniz
Polymer and Firebase: Componentizing the Web in Realtime
Polymer and Firebase: Componentizing the Web in Realtime
Juarez Filho
Material design
Material design
David Tiago Conceição
O futuro do Android
O futuro do Android
Erisvaldo Junior
Tech talk polymer
Tech talk polymer
Yanuar W
Viewers also liked
(20)
Polymer science: preparation and uses of polymers
Polymer science: preparation and uses of polymers
Polymer ppt
Polymer ppt
The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17
The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17
Google Polymer Framework
Google Polymer Framework
Polymers
Polymers
Polymers and their properties
Polymers and their properties
Identifying Your Skills Sets
Identifying Your Skills Sets
Los Colores en español
Los Colores en español
The British and Spanish law about bulliying 2017
The British and Spanish law about bulliying 2017
Presentaciones open-office-impress
Presentaciones open-office-impress
2014 Resume
2014 Resume
Food chains
Food chains
Food chain story
Food chain story
My food chain story
My food chain story
Polymer Chemistry
Polymer Chemistry
Polymer Elements: Tudo que você precisa saber para criar a web
Polymer Elements: Tudo que você precisa saber para criar a web
Polymer and Firebase: Componentizing the Web in Realtime
Polymer and Firebase: Componentizing the Web in Realtime
Material design
Material design
O futuro do Android
O futuro do Android
Tech talk polymer
Tech talk polymer
Similar to Polymer - Una bella historia de amor
Polytechnic 1.0 Granada
Polytechnic 1.0 Granada
Israel Blancas
Polymer - Lego for the web!
Polymer - Lego for the web!
Codemotion
Introduction to web components
Introduction to web components
Marc Bächinger
Polymer-Powered Design Systems - DevFest Florida
Polymer-Powered Design Systems - DevFest Florida
John Riviello
Web Components: back to the future
Web Components: back to the future
DA-14
Polymer
Polymer
LearningTech
The Structure of Web Code: A Case For Polymer, November 1, 2014
The Structure of Web Code: A Case For Polymer, November 1, 2014
Tommie Gannert
Polymer Code Lab in Dart - DevFest Kraków 2014
Polymer Code Lab in Dart - DevFest Kraków 2014
jskvara
Intro to polymer-Devfest Yaoundé 2013
Intro to polymer-Devfest Yaoundé 2013
gdgyaounde
Polymer 1.0
Polymer 1.0
Cyril Balit
BreizhBeans - Web components
BreizhBeans - Web components
Horacio Gonzalez
Web Components and Modular CSS
Web Components and Modular CSS
Andrew Rota
Web Components mit Polymer und AngularJS 1.x
Web Components mit Polymer und AngularJS 1.x
PatrickHillert
Web Components mit Polymer und AngularJS 1.x
Web Components mit Polymer und AngularJS 1.x
inovex GmbH
Web Components: Web back to future.
Web Components: Web back to future.
GlobalLogic Ukraine
Reaching for the Future with Web Components and Polymer
Reaching for the Future with Web Components and Polymer
FITC
Web components
Web components
Noam Kfir
HTML5
HTML5
Brad Touesnard
HTML5 Essential Training
HTML5 Essential Training
Kaloyan Kosev
Ensuring Design Standards with Web Components
Ensuring Design Standards with Web Components
John Riviello
Similar to Polymer - Una bella historia de amor
(20)
Polytechnic 1.0 Granada
Polytechnic 1.0 Granada
Polymer - Lego for the web!
Polymer - Lego for the web!
Introduction to web components
Introduction to web components
Polymer-Powered Design Systems - DevFest Florida
Polymer-Powered Design Systems - DevFest Florida
Web Components: back to the future
Web Components: back to the future
Polymer
Polymer
The Structure of Web Code: A Case For Polymer, November 1, 2014
The Structure of Web Code: A Case For Polymer, November 1, 2014
Polymer Code Lab in Dart - DevFest Kraków 2014
Polymer Code Lab in Dart - DevFest Kraków 2014
Intro to polymer-Devfest Yaoundé 2013
Intro to polymer-Devfest Yaoundé 2013
Polymer 1.0
Polymer 1.0
BreizhBeans - Web components
BreizhBeans - Web components
Web Components and Modular CSS
Web Components and Modular CSS
Web Components mit Polymer und AngularJS 1.x
Web Components mit Polymer und AngularJS 1.x
Web Components mit Polymer und AngularJS 1.x
Web Components mit Polymer und AngularJS 1.x
Web Components: Web back to future.
Web Components: Web back to future.
Reaching for the Future with Web Components and Polymer
Reaching for the Future with Web Components and Polymer
Web components
Web components
HTML5
HTML5
HTML5 Essential Training
HTML5 Essential Training
Ensuring Design Standards with Web Components
Ensuring Design Standards with Web Components
More from Israel Blancas
What is happening with my microservices?
What is happening with my microservices?
Israel Blancas
GitHubś data is a life-changer
GitHubś data is a life-changer
Israel Blancas
Progressive Web Apps - Porque nativo no es significa mejor
Progressive Web Apps - Porque nativo no es significa mejor
Israel Blancas
TensorFlow - La IA detrás de Google
TensorFlow - La IA detrás de Google
Israel Blancas
Jornada de asociaciones ETSIIT 2016
Jornada de asociaciones ETSIIT 2016
Israel Blancas
GitHubCity: una biblioteca para conocer tu comunidad
GitHubCity: una biblioteca para conocer tu comunidad
Israel Blancas
NodIO: Marco de desarrollo de aplicaciones para computación evolutiva voluntaria
NodIO: Marco de desarrollo de aplicaciones para computación evolutiva voluntaria
Israel Blancas
El valor de lo abierto de software libre y datos
El valor de lo abierto de software libre y datos
Israel Blancas
Google Summer of Code
Google Summer of Code
Israel Blancas
Paasalo - Usando plataformas como servicio para publicar tu aplicación
Paasalo - Usando plataformas como servicio para publicar tu aplicación
Israel Blancas
More from Israel Blancas
(10)
What is happening with my microservices?
What is happening with my microservices?
GitHubś data is a life-changer
GitHubś data is a life-changer
Progressive Web Apps - Porque nativo no es significa mejor
Progressive Web Apps - Porque nativo no es significa mejor
TensorFlow - La IA detrás de Google
TensorFlow - La IA detrás de Google
Jornada de asociaciones ETSIIT 2016
Jornada de asociaciones ETSIIT 2016
GitHubCity: una biblioteca para conocer tu comunidad
GitHubCity: una biblioteca para conocer tu comunidad
NodIO: Marco de desarrollo de aplicaciones para computación evolutiva voluntaria
NodIO: Marco de desarrollo de aplicaciones para computación evolutiva voluntaria
El valor de lo abierto de software libre y datos
El valor de lo abierto de software libre y datos
Google Summer of Code
Google Summer of Code
Paasalo - Usando plataformas como servicio para publicar tu aplicación
Paasalo - Usando plataformas como servicio para publicar tu aplicación
Recently uploaded
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
OnBoard
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
2toLead Limited
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Allon Mureinik
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
naman860154
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Paola De la Torre
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
Pixlogix Infotech
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
ThousandEyes
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
Recently uploaded
(20)
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Polymer - Una bella historia de amor
1.
Polymer Una bella historia
de amor +Israel Blancas @iblancasa
2.
Israel Blancas @iblancasa Software Engineer
at Real-Time Innovations Google Developer Group organizer
3.
Mejor tarde que
nunca
4.
5.
6.
7.
8.
Web Components are
low-level primitives that let you define your own HTML Elements.
9.
Template Shadow DOM Custom Elements HTML
Imports native client-side templating scoping, composition define new HTML/DOM loading web components
10.
Primitives are designed
so we can build libraries on top of them.
11.
So what is
Polymer?
12.
Polymer is not a
framework
13.
Existing Frameworks Applications Web Platform Web
Components built with Polymer (or not)
14.
Polymer is not a
framework Sure?
15.
Over 3M pages
16.
17.
18.
19.
20.
21.
22.
Let’s build an element! Image
by Gloria Viganò for the Noun Project
23.
Hey user! Something
awesome happened!
24.
x Hey user! Something
awesome happened! <alert-banner>
25.
alert-banner.html <dom-module id=“alert-banner"> <template> </template> <script> Polymer({ is: ‘alert-banner' }); </script> </dom-module> <link
rel=“import” href=“../polymer/polymer.html”>
26.
alert-banner.html <dom-module id=“alert-banner"> <template> </template> <script> Polymer({ is: ‘alert-banner' }); </script> </dom-module> <link
rel=“import” href=“../polymer/polymer.html”> Import all of your dependencies
27.
alert-banner.html <dom-module id=“alert-banner"> <template> </template> <script> Polymer({ is: ‘alert-banner' }); </script> </dom-module> <link
rel=“import” href=“../polymer/polymer.html”> A container for your element definition
28.
alert-banner.html <dom-module id=“alert-banner"> <template> </template> <script> Polymer({ is: ‘alert-banner' }); </script> </dom-module> Local
DOM is the DOM an elements is in charge of creating and managing <link rel=“import” href=“../polymer/polymer.html”>
29.
Shadow DOM
30.
Shadow DOM ||
“Shady DOM”
31.
Shadow DOM ||
“Shady DOM” == Local DOM
32.
alert-banner.html <dom-module id=“alert-banner"> <template> </template> <script> Polymer({ is: ‘alert-banner' }); </script> </dom-module> Local
DOM is the DOM an elements is in charge of creating and managing <link rel=“import” href=“../polymer/polymer.html”>
33.
alert-banner.html <dom-module id=“alert-banner"> <template> <style> .alert {
background: blue; color: white; } </style> <div class=“alert”> Hey user! Something awesome happened! </div> </template> <script> Polymer({ is: ‘alert-banner' }); </script> </dom-module> <link rel=“import” href=“../polymer/polymer.html”> Hey user! Something awesome happHey user! Something awesome happ
34.
alert-banner.html <dom-module id=“alert-banner"> <template> <style> .alert {
background: blue; color: white; } </style> <div class=“alert”> Hey user! Something awesome happened! </div> </template> <script> Polymer({ is: ‘alert-banner' }); </script> </dom-module> <link rel=“import” href=“../polymer/polymer.html”> Define your prototype
35.
</ul> </header> </nav> <main> <h1 class="logo">Polymer!</h1> <alert-banner></alert-banner> <section> <article class="top-story"> <img
src="headline.jpg"/>
36.
Hey user! Something
awesome happened!
37.
alert-banner.html <dom-module id=“alert-banner"> <template> <style> .alert {
background: blue; color: white; } </style> <div class=“alert”> Hey user! Something awesome happened! </div> </template> <script> Polymer({ is: ‘alert-banner' }); </script> </dom-module> <link rel=“import” href=“../polymer/polymer.html”> Replace hard-coded data
38.
alert-banner.html <dom-module id=“alert-banner"> <template> <style> .alert {
background: blue; color: white; } </style> <div class=“alert”> <content select=“.message”></content> </div> </template> <script> Polymer({ is: ‘alert-banner' }); </script> </dom-module> <link rel=“import” href=“../polymer/polymer.html”> With content elements!
39.
Light DOM -
The world outside your component’s Local DOM
40.
alert-banner.html <dom-module id=“alert-banner"> <template> <style> .alert {
background: blue; color: white; } </style> <div class=“alert”> <content select=“.message”></content> </div> </template> <script> Polymer({ is: ‘alert-banner' }); </script> <link rel=“import” href=“../polymer/polymer.html”> Select content with CSS selectors
41.
</header> </nav> <main> <h1 class="logo">Polymer!</h1> <alert-banner></alert-banner> <section> <article class="top-story"> <img
src="headline.jpg"/> <p>Lorem ipsum dolor sit amet…</p>
42.
</header> </nav> <main> <h1 class="logo">Polymer!</h1> <alert-banner> <span class=“message”> Success!
Your first component! </span> </alert-banner>
43.
</header> </nav> <main> <h1 class="logo">Polymer!</h1> <alert-banner> <span class=“message”> Success!
Your first component! </span> </alert-banner> Matching class
44.
Success! Your first
component!
45.
Elements Building blocks for
a better web
46.
There’s an element
for that!
47.
https://beta.webcomponents.org /collection/Polymer/elements
48.
Applications Combining elements into
something great
49.
Create or reuse
elements in any app
50.
Production-ising Apps
51.
Build process out
of the box
52.
53.
GDG Granada
54.
polymer-project.org
55.
Muchas gracias ¿Preguntas? +Israel Blancas @iblancasa
Download now