SlideShare a Scribd company logo
Web components, polymer and aligning drupal's destiny
elmsln.org
Who’s involved?
What is ?
Idea Domain
courses.institution.edu/{course}
blogs.institution.edu/{course}
discuss.institution.edu/{course}
studio.institution.edu/{course}
NGDL
E
Image ©2015 Buttercups Training, used with permission.
Image ©2010 Daniel Diaz, DeviantArt.com http://danimix1983.deviantart.com/art/Ironman-184550435
Polymer helps us build web components
The Web Components spec
Not pattern lab (but similar concept)
Not Angular or React (again, similar concepts)
<awesome-explosion>
</awesome-explosion>
<awesome-explosion size=“tiny”>
<awesome-explosion size=“small”>
<awesome-explosion size=“big”>
<awesome-explosion size=“epic”>
<awesome-explosion color=“blue”>
<awesome-explosion color=“yellow”>
<awesome-explosion color=“red”>
<awesome-explosion color=“purple”>
<awesome-explosion size=“big” color=“red”>
</awesome-explosion>
Web components
Web components, polymer and aligning drupal's destiny
Ok, but what uses Web Components?
Google Earth built on web components
YouTube.com/new built on web components
YouTube.com/new built on web components
ELMS:LN is loaded with Web Components
Web components, polymer and aligning drupal's destiny
Web components, polymer and aligning drupal's destiny
Web components, polymer and aligning drupal's destiny
Web components, polymer and aligning drupal's destiny
Web components, polymer and aligning drupal's destiny
Web components, polymer and aligning drupal's destiny
Web components, polymer and aligning drupal's destiny
Web components, polymer and aligning drupal's destiny
Cons of this approach
• Browser Support
Pros of this approach
• Separation of concerns ✅
• “Headless” theming ✅
• Unidirectional data flow ✅
• Component architecture ✅
• Design Documentation ✅
• Framework Interoperability 😱
Web components, polymer and aligning drupal's destiny
FRAMEWORK
INTEROPERABILITY
• Drupal ✅
• GravCMS ✅
• Home grown ✅
• Static generators ✅
• Joomla ✅
• Wordpress 😱
LRN Web Components for Teaching & Learning
So where did Drupal go?
Web components module bridges Drupal
Render articles through a hero component
Create the elmsln-hero web component
Create the elmsln-hero web component
Create the elmsln-hero web component
Place the component in scope of drupal
Turn on the web components module
Find the elmsln-hero viewmode
Populate the fields
Render content through elmsln-hero
viewmode
Drupal + web components = ♥️
Webcomponents: One Page App integration
Place “app” in a module/apps directory
Place “app” in a module/apps directory
Add ”app_integration” to manifest.json
Go to apps/{app-name}
How the App knows to talk to Drupal
Seeing the XHR via source-path
Autoloading tag-name.php
Callback function
Return json
Leveraging Webcomponents.org
Manifest providing a block
Drag drop upload example
3 little Drupal functions away from pure PHP
Web components, polymer and aligning drupal's destiny
Relevant links:
• https://www.webcomponents.org/
• https://www.drupal.org/project/webcomponents
• https://www.polymer-project.org/
• https://drupal.psu.edu/blog
• https://www.elmsln.org/
Web components, polymer and aligning drupal's destiny

More Related Content

PPTX
Drupal Govcon 2017 Polymer workshop slides
PPTX
React Tune-up - ReactLive.nl
PDF
The SAMR Ladder v3
PDF
Failing @ Scaling Agile? Don’t Panic! & Carry a Towel
PPTX
Gamifying Agile Adoption - An experiment
PDF
Amp up learning with the SAMR
PPTX
Mad scientist-roadshow
PDF
Responsive Responsive Design
Drupal Govcon 2017 Polymer workshop slides
React Tune-up - ReactLive.nl
The SAMR Ladder v3
Failing @ Scaling Agile? Don’t Panic! & Carry a Towel
Gamifying Agile Adoption - An experiment
Amp up learning with the SAMR
Mad scientist-roadshow
Responsive Responsive Design

Similar to Web components, polymer and aligning drupal's destiny (20)

PDF
Yeoman AngularJS and D3 - A solid stack for web apps
PDF
Web Development for UX Designers
PDF
Goodbye, Flatland! An introduction to React VR and what it means for web dev...
PDF
Going web native
PPTX
Introduction to React
PDF
Startup Institute NYC: Styling
PDF
Measuring Web Performance - HighEdWeb Edition
PPT
Mobile Monday Presentation: Responsive Web Design
PPTX
Future proofing design work with Web components
PDF
Beyond just "it's accessible" (2017)
PPTX
Advanced #2 - ui perf
PDF
gDayX 2013 - Advanced AngularJS - Nicolas Embleton
KEY
Skillville Games CodeChix Presentation
PDF
Polymer in production : we did it!
PDF
[drupalcampatx] Adaptive Images in Responsive Web Design
PDF
Reactive Type-safe WebComponents
PDF
[refreshpitt] Adaptive Images in Responsive Web Design
PDF
Make your life better with immutable objects
PDF
"Progressive Web Apps" by Riza Fahmi (Hacktiv8)
PDF
Progressive Web Apps. What, why and how
Yeoman AngularJS and D3 - A solid stack for web apps
Web Development for UX Designers
Goodbye, Flatland! An introduction to React VR and what it means for web dev...
Going web native
Introduction to React
Startup Institute NYC: Styling
Measuring Web Performance - HighEdWeb Edition
Mobile Monday Presentation: Responsive Web Design
Future proofing design work with Web components
Beyond just "it's accessible" (2017)
Advanced #2 - ui perf
gDayX 2013 - Advanced AngularJS - Nicolas Embleton
Skillville Games CodeChix Presentation
Polymer in production : we did it!
[drupalcampatx] Adaptive Images in Responsive Web Design
Reactive Type-safe WebComponents
[refreshpitt] Adaptive Images in Responsive Web Design
Make your life better with immutable objects
"Progressive Web Apps" by Riza Fahmi (Hacktiv8)
Progressive Web Apps. What, why and how
Ad

More from Bryan Ollendyke (20)

PPTX
Lecture 14 - OER final project
PDF
Lecture 12 - Docker
PDF
Lecture 11 - Web components
PPTX
EdTechJoker Spring 2020 - Lecture 10 HAXTheWeb
PPTX
EdTechJoker Spring 2020 - Lecture 8 Drupal again
PPTX
EdTechJoker Spring 2020 - Lecture 7 Drupal intro
PPTX
EdTechJoker Spring 2020 - Lecture 6 - WordPress
PPTX
EdTechJoker Spring 2020 - Lecture 5 grav cms
PPTX
EdTechJoker Spring 2020 - Lecture 4 - HTML
PPTX
EdTechJoker Spring 2020 - Lecture 2 - Git
PPTX
EdTechJoker Spring 2020 - Lecture 1 - Welcome
PPTX
Apereo 2018 - NGDLE, OER, Cost reduction, accessibility and decentralization
PPTX
Apereo 2018 - Webcomponents and building a unified authoring experience for a...
PPTX
Apereo 2018 - HAX lightning talk
PPTX
Apereo 2018 - NGDLE efforts
PPTX
Apereo 2018 - Polymer training
PPTX
Building and Envisioning a Next Generation Digital Learning Environment
PPTX
History of the web as a platform from 1996 to 2017
PPTX
NGDLE (2016 version)
PPTX
Rethinking system design
Lecture 14 - OER final project
Lecture 12 - Docker
Lecture 11 - Web components
EdTechJoker Spring 2020 - Lecture 10 HAXTheWeb
EdTechJoker Spring 2020 - Lecture 8 Drupal again
EdTechJoker Spring 2020 - Lecture 7 Drupal intro
EdTechJoker Spring 2020 - Lecture 6 - WordPress
EdTechJoker Spring 2020 - Lecture 5 grav cms
EdTechJoker Spring 2020 - Lecture 4 - HTML
EdTechJoker Spring 2020 - Lecture 2 - Git
EdTechJoker Spring 2020 - Lecture 1 - Welcome
Apereo 2018 - NGDLE, OER, Cost reduction, accessibility and decentralization
Apereo 2018 - Webcomponents and building a unified authoring experience for a...
Apereo 2018 - HAX lightning talk
Apereo 2018 - NGDLE efforts
Apereo 2018 - Polymer training
Building and Envisioning a Next Generation Digital Learning Environment
History of the web as a platform from 1996 to 2017
NGDLE (2016 version)
Rethinking system design
Ad

Recently uploaded (20)

PPTX
Cell Structure & Organelles in detailed.
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Pharma ospi slides which help in ospi learning
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
master seminar digital applications in india
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Lesson notes of climatology university.
PDF
01-Introduction-to-Information-Management.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Cell Structure & Organelles in detailed.
A systematic review of self-coping strategies used by university students to ...
STATICS OF THE RIGID BODIES Hibbelers.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
2.FourierTransform-ShortQuestionswithAnswers.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
102 student loan defaulters named and shamed – Is someone you know on the list?
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Supply Chain Operations Speaking Notes -ICLT Program
Pharma ospi slides which help in ospi learning
Anesthesia in Laparoscopic Surgery in India
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
master seminar digital applications in india
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Lesson notes of climatology university.
01-Introduction-to-Information-Management.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf

Web components, polymer and aligning drupal's destiny

Editor's Notes

  • #10: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #11: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #16: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #17: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #18: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #19: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #21: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #27: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #28: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #29: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #30: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #31: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #32: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #33: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317
  • #34: https://www.w3.org/TR/2016/WD-low-vision-needs-20160317