SlideShare a Scribd company logo
Web Components
(and Polymer)
A Future Web UI Standard (?)
Web Components
W3C Standard
Custom Elements
Shadow DOM
HTML Imports
HTML Templates
(Native) Support in Chrome and Opera
Partial support in Firefox; none in IE
Polymer provides polyfills for Firefox and IE
Custom Elements
Tags are hyphenated e.g.
<diig-login user=”jbloggs”></diig-login>
Should be able to mix elements from different libraries
<my-polymer-element>
<my-xtag-element></my-xtag-element>
</my-polymer-element>
Extend existing elements through inheritance
Shadow DOM
Web page in a web page
Unaffected by main page, CSS, etc. unless you specify.
Like IFRAME
HTML Templates
Inert piece of HTML
Parameterised (for, if, etc.)
<template></template>
Can be nested
HTML Imports
Bundled Pieces of HTML
Links, JS, etc.
<link rel="import" href="/components/color-element.html">
Polymer
From Google
Uses Data-binding (like AngularJS), one-way and two-way:
<diig-login user=”{{userName}}”></diig-login>
Prefers declarative to programmatic (less JS)
Aimed at Mobile Apps (“folding” components, offline: platinum-ws)
Demo
Summary
It is/will be a standard.
Supported by Google and Mozilla (~⅔ browser market)
Currently Polymer (Google) and X-Tags (Mozilla)
API as components?
<diig-document-storage auto
type=”s3storage”
url=”our/s3/storage”>
<pdf-loader></pdf-loader>
</diig-document-storage>

More Related Content

PPT
Web browser architecture.87 to 88
PPTX
13. session 13 introduction to dhtml
PPTX
Web design and Development
PPTX
PPTX
HTML 5
PDF
Introduction to Browser Internals
PPTX
Dhtml
PPTX
Html and dhtml
Web browser architecture.87 to 88
13. session 13 introduction to dhtml
Web design and Development
HTML 5
Introduction to Browser Internals
Dhtml
Html and dhtml

What's hot (20)

PPTX
Web browser architecture
PPTX
Dhtml sohaib ch
PPT
PPT
DHTML - Dynamic HTML
PDF
Dominating Shadow DOM
PPTX
BEM methodology overview
PPTX
HTML - 5 - Introduction
PPSX
Rendering engine
PPT
Introdution to HTML 5
PPT
Unit 2 dhtml
PPTX
SharePoint 2010 Web Standards & Accessibility
PPTX
Browsers. Magic is inside.
PPT
PPTX
How the Web Works Using HTML
PDF
HTML5 New Features and Resources
PPT
Introduction to HTML5
PPTX
Understanding the dom by Benedict Ayiko
PPTX
Document Object Model
PPT
Document Object Model
Web browser architecture
Dhtml sohaib ch
DHTML - Dynamic HTML
Dominating Shadow DOM
BEM methodology overview
HTML - 5 - Introduction
Rendering engine
Introdution to HTML 5
Unit 2 dhtml
SharePoint 2010 Web Standards & Accessibility
Browsers. Magic is inside.
How the Web Works Using HTML
HTML5 New Features and Resources
Introduction to HTML5
Understanding the dom by Benedict Ayiko
Document Object Model
Document Object Model
Ad

Viewers also liked (6)

PPTX
An Introduction to Web Components
PDF
Real World Web components
PDF
Web Components for Java Developers
PPTX
Http Vs Https .
PPTX
Web components
PDF
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
An Introduction to Web Components
Real World Web components
Web Components for Java Developers
Http Vs Https .
Web components
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Ad

Similar to Web components (20)

PPTX
Web Components
ODP
Polymer 2.0 introduction at GDG Algiers: Google Fair event
PDF
Custom Elements with Polymer Web Components #econfpsu16
PPTX
Віталій Бобров — Web components, Polymer and Drupal
PDF
Tech talk polymer
PDF
Web components are the future of the web - Take advantage of new web technolo...
PDF
Levent-Gurses' Introduction to Web Components & Polymer
PDF
Polymer Web Framework - Swecha Boot Camp
PPTX
Web Components
PDF
PPTX
Introduction to Web Components & Polymer Workshop - U of I WebCon
PDF
Pretty Matters: Web Components, Material Design and Polymer
PDF
Intro to Web Components, Polymer & Vaadin Elements
PDF
Introduction to Web Components
PDF
2014 03-25 - GDG Nantes - Web Components avec Polymer
PDF
Polymer
PDF
Александр Кашеверов - Polymer
PDF
Introduction to Web Components & Polymer Workshop - JS Interactive
PDF
Beyond Polymer - JUG Summer Camp - 2015-09-18
PDF
JEE Conf 2015: Less JS!
Web Components
Polymer 2.0 introduction at GDG Algiers: Google Fair event
Custom Elements with Polymer Web Components #econfpsu16
Віталій Бобров — Web components, Polymer and Drupal
Tech talk polymer
Web components are the future of the web - Take advantage of new web technolo...
Levent-Gurses' Introduction to Web Components & Polymer
Polymer Web Framework - Swecha Boot Camp
Web Components
Introduction to Web Components & Polymer Workshop - U of I WebCon
Pretty Matters: Web Components, Material Design and Polymer
Intro to Web Components, Polymer & Vaadin Elements
Introduction to Web Components
2014 03-25 - GDG Nantes - Web Components avec Polymer
Polymer
Александр Кашеверов - Polymer
Introduction to Web Components & Polymer Workshop - JS Interactive
Beyond Polymer - JUG Summer Camp - 2015-09-18
JEE Conf 2015: Less JS!

Recently uploaded (20)

PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Transform Your Business with a Software ERP System
PPTX
assetexplorer- product-overview - presentation
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
history of c programming in notes for students .pptx
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Digital Strategies for Manufacturing Companies
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Digital Systems & Binary Numbers (comprehensive )
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Odoo Companies in India – Driving Business Transformation.pdf
Transform Your Business with a Software ERP System
assetexplorer- product-overview - presentation
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
history of c programming in notes for students .pptx
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Digital Strategies for Manufacturing Companies
Odoo POS Development Services by CandidRoot Solutions
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Understanding Forklifts - TECH EHS Solution
Operating system designcfffgfgggggggvggggggggg
Design an Analysis of Algorithms II-SECS-1021-03
CHAPTER 2 - PM Management and IT Context
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Reimagine Home Health with the Power of Agentic AI​
Navsoft: AI-Powered Business Solutions & Custom Software Development
Softaken Excel to vCard Converter Software.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
Digital Systems & Binary Numbers (comprehensive )

Web components

  • 1. Web Components (and Polymer) A Future Web UI Standard (?)
  • 2. Web Components W3C Standard Custom Elements Shadow DOM HTML Imports HTML Templates (Native) Support in Chrome and Opera Partial support in Firefox; none in IE Polymer provides polyfills for Firefox and IE
  • 3. Custom Elements Tags are hyphenated e.g. <diig-login user=”jbloggs”></diig-login> Should be able to mix elements from different libraries <my-polymer-element> <my-xtag-element></my-xtag-element> </my-polymer-element> Extend existing elements through inheritance
  • 4. Shadow DOM Web page in a web page Unaffected by main page, CSS, etc. unless you specify. Like IFRAME
  • 5. HTML Templates Inert piece of HTML Parameterised (for, if, etc.) <template></template> Can be nested
  • 6. HTML Imports Bundled Pieces of HTML Links, JS, etc. <link rel="import" href="/components/color-element.html">
  • 7. Polymer From Google Uses Data-binding (like AngularJS), one-way and two-way: <diig-login user=”{{userName}}”></diig-login> Prefers declarative to programmatic (less JS) Aimed at Mobile Apps (“folding” components, offline: platinum-ws)
  • 9. Summary It is/will be a standard. Supported by Google and Mozilla (~⅔ browser market) Currently Polymer (Google) and X-Tags (Mozilla) API as components? <diig-document-storage auto type=”s3storage” url=”our/s3/storage”> <pdf-loader></pdf-loader> </diig-document-storage>