SlideShare a Scribd company logo
Radamantis Torres
Support Manager Appcelerator
@Radamantis
Polymer HTML Includes y AJAX
Introducción
● Web Developer/Architect
● Mobile Developer/Architect
● Linux Sysadmin
Quick conf
● Nginx server block
● Hosts file
● Ready
HTML Imports
● Casi no encontré documentación
● HTML5 puro
● No está soportado en todos los browsers
● Webcomponents!
Import
● <link rel="import" href="/internals/current.html">
Muy bien, pero esto no me funciona si quiero agregar mas de uno!
● La clave está en agregar id's
ImportImportImport
<link rel="import" href="/internals/current.html" id="currentIm">
<link rel="import" href="/internals/experience.html" id="expIm">
<link rel="import" href="/internals/skills.html" id="skillsIm">
● HTMLImportsLoaded
● WebComponentsReady
EventListeners
Guardando la info
var linkCurrent = document.getElementById('currentIm');
contentCurrent = linkCurrent.import.querySelector('#current');
main.appendChild(document.importNode(contentCurrent, true));
Webcomponents
● Is a collection of libraries (or “polyfills”) for new
web technologies that haven’t shipped yet
across all browsers
● Webcomponents.org
Polymer components
● Finalmente agregamos algunos components
● Creamos un esqueleto
● Ajustamos detalles
Finalmente
Ajax calls
● Todos necesitamos las ajax calls
● Se pueden hacer sin script
core-ajax
<core-ajax
auto
url="http://www.filltext.com/"
params='{"rows":10, "firstName":"{firstName}",
"lastName":"{lastName}"}'
handleAs="json"
response={{people}}
></core-ajax>
Finalmente
Polymer, HTML includes y core-ajax

More Related Content

PPTX
Jimmie Lindstrom, Braintree_ePayment Workshop @ Open Commerce Conference 2016
PPTX
Access Net Web Services From Java
PDF
Sean schofield & Richard Lister, Spree Commerce_ Fearless deployment @ Open C...
PDF
Wordcamp Toronto Presentation
PDF
How to Build Single Page HTML5 Apps that Scale
PPTX
Michael Tucker, GoDaddy_How GoDaddy used Spree to build their Online Store pr...
PDF
Creating applications with Grails, Angular JS and Spring Security
PPT
Developing PHP Web Applications with the Raxan Framework
Jimmie Lindstrom, Braintree_ePayment Workshop @ Open Commerce Conference 2016
Access Net Web Services From Java
Sean schofield & Richard Lister, Spree Commerce_ Fearless deployment @ Open C...
Wordcamp Toronto Presentation
How to Build Single Page HTML5 Apps that Scale
Michael Tucker, GoDaddy_How GoDaddy used Spree to build their Online Store pr...
Creating applications with Grails, Angular JS and Spring Security
Developing PHP Web Applications with the Raxan Framework

What's hot (20)

PPTX
WebFest 2011 WebMatrix Overview by Gavin Warrener
PPTX
Deploying a static website on Azure for $5 / month
PDF
WordPress and Client Side Web Applications WCTO
PPTX
ASP.NET MVC From The Ground Up
PPTX
Modern web development with Asp.net and Visual Studio 2013
PDF
Mastering Grails 3 Plugins - Greach 2016
PPTX
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
PPTX
What is new in ASP.NET Core
PPTX
MVC 6 - Tag Helpers and View Components
PDF
Stencil the time for vanilla web components has arrived
PDF
Jayway Web Tech Radar 2015
PDF
Using WordPress as a Backend for Your React Project
PDF
Creating BananaJS with Angular 2, Angular CLI, and Material Design
KEY
Introduction to jQuery - College Lecture
PPTX
DotNet Conf Madrid 2019 - ASP.NET Core 3
PPTX
PPTX
W3C Web Performance - A detailed overview
PDF
The Tale of 2 CLIs - Ember-cli and Angular-cli
PDF
Firebase Adventures - Going above and beyond in Realtime
WebFest 2011 WebMatrix Overview by Gavin Warrener
Deploying a static website on Azure for $5 / month
WordPress and Client Side Web Applications WCTO
ASP.NET MVC From The Ground Up
Modern web development with Asp.net and Visual Studio 2013
Mastering Grails 3 Plugins - Greach 2016
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
What is new in ASP.NET Core
MVC 6 - Tag Helpers and View Components
Stencil the time for vanilla web components has arrived
Jayway Web Tech Radar 2015
Using WordPress as a Backend for Your React Project
Creating BananaJS with Angular 2, Angular CLI, and Material Design
Introduction to jQuery - College Lecture
DotNet Conf Madrid 2019 - ASP.NET Core 3
W3C Web Performance - A detailed overview
The Tale of 2 CLIs - Ember-cli and Angular-cli
Firebase Adventures - Going above and beyond in Realtime
Ad

Viewers also liked (8)

PDF
Polymer
PDF
WebComponentsとPolymer
PPTX
Web components + Material design = Polymer (by Vyatcheslav Potravnyy) - Hack'...
PDF
Booting up with polymer
PPTX
Polymer
PPTX
How to build a web application with Polymer
PDF
Polymer
PPT
Slidehare
Polymer
WebComponentsとPolymer
Web components + Material design = Polymer (by Vyatcheslav Potravnyy) - Hack'...
Booting up with polymer
Polymer
How to build a web application with Polymer
Polymer
Slidehare
Ad

Similar to Polymer, HTML includes y core-ajax (20)

PDF
2016 stop writing javascript frameworks by Joe Gregorio
PDF
Client vs Server Templating: Speed up initial load for SPA with Angular as an...
PDF
Александр Кашеверов - Polymer
PPTX
Hands on react native
PDF
Pre rendering media sites with nuxt.js & netlify
PDF
Nginx, PHP and Node.js
PPTX
Evaluating a password manager
PPTX
Web components. Compose the web.
PPTX
Web Components
PDF
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
PPTX
Google I/O 2012 - Protecting your user experience while integrating 3rd party...
ODP
9 Useful Things that Every Web Developer Needs to Know
PPTX
Web components
PDF
Optimising Web Application Frontend
PPTX
Architecture in Ajax Applications
PPTX
Web Components: Web back to future.
PPTX
Single Page WebApp Architecture
PDF
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
PPTX
How NOT to get lost in the current JavaScript landscape
2016 stop writing javascript frameworks by Joe Gregorio
Client vs Server Templating: Speed up initial load for SPA with Angular as an...
Александр Кашеверов - Polymer
Hands on react native
Pre rendering media sites with nuxt.js & netlify
Nginx, PHP and Node.js
Evaluating a password manager
Web components. Compose the web.
Web Components
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
Google I/O 2012 - Protecting your user experience while integrating 3rd party...
9 Useful Things that Every Web Developer Needs to Know
Web components
Optimising Web Application Frontend
Architecture in Ajax Applications
Web Components: Web back to future.
Single Page WebApp Architecture
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
How NOT to get lost in the current JavaScript landscape

Recently uploaded (20)

PPTX
Spectroscopy.pptx food analysis technology
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
cuic standard and advanced reporting.pdf
PPT
Teaching material agriculture food technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Approach and Philosophy of On baking technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
KodekX | Application Modernization Development
Spectroscopy.pptx food analysis technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
MIND Revenue Release Quarter 2 2025 Press Release
Electronic commerce courselecture one. Pdf
Encapsulation_ Review paper, used for researhc scholars
Unlocking AI with Model Context Protocol (MCP)
cuic standard and advanced reporting.pdf
Teaching material agriculture food technology
Reach Out and Touch Someone: Haptics and Empathic Computing
Dropbox Q2 2025 Financial Results & Investor Presentation
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
20250228 LYD VKU AI Blended-Learning.pptx
sap open course for s4hana steps from ECC to s4
Building Integrated photovoltaic BIPV_UPV.pdf
Network Security Unit 5.pdf for BCA BBA.
Approach and Philosophy of On baking technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
KodekX | Application Modernization Development

Polymer, HTML includes y core-ajax