SlideShare a Scribd company logo
Welcome to the World of Web
Components
Index
● Introduction
● Why Web Components
● Examples
● Modules vs Web Components
● Drupal Connect
● Migrating from Drupal 6/7 to Drupal 8
● Conclusion
● Adhering with existing web standards, web components are nothing
but a collection of technologies combined to allow developers to create
reusable components(bundles of HTML, CSS, JavaScript). They let us
effectively describe the implementation of HTML elements that
already exist for the web.
● Similar to the component-based frameworks like Vue and React, web
components lead us to create component-based applications natively
in the browser.
Introduction
With these basics in check, we will walk
through...
● The process of how web component can ease the process with suitable
examples
● Introduce techniques to integrate web components with Drupal
● Discuss the comparison between Drupal modules and web components
in modern web development.
Why Web Components?
When a design is to be development phase, the
first step of the front end process is to break down
the design into components. It is very much
possible that the style of an article can be one of
the components that occurs on multiple pages.
Thus, a web component for styling can be utilised
to obtain a standard style on all pages. In this
process, when similar requirements are bundled,
they lead to faster application and reduce
duplication of work.
Design
In development phase
Components
Eg: header, footer, images, etc.
Web components
To obtain a standard style on all page
Examples
● For creating custom elements, Polymer can provide a set of
features.
● An open source lightweight web component library, Slim.js,
provides data-binding and extended capabilities for components.
● Stencil, an open source compiler, can generate standards-
compliant web components.
● Hybrids, a UI library, can create Web Components with a simple and
functional API.
● LitElement adds API to help manage element properties and
attributes.
Modules Vs Web Components
Autonomous units made up
of components
Act as a group of reusable
codes containing more than
one element
Eg: header, footer, articles,
and sections
Eg: unordered lists, quotes,
cards, tables, etc
Each one has a special style
and function to create an
independent whole
Assimilated in different ways
with other components to
build a different program
Drupal Connect
Drupal.org provides for
about 17,000 modules
available to download for
Drupal-powered sites
As an emerging web
industry, web components
replace the layout systems,
template engines, and
endless tpl files
Migrate from Drupal 6/7 to Drupal 8
● Display suite, a redefined list of layouts, allows you to take full control
over how your content is displayed using a drag and drop interface in
Drupal
● With the decrease in its requirement on the module side, companies are
scaling up to Drupal 8 to decrease the complexity of the sites along with
opening up pathways to a more fun and progressive programming.
● At the same time, the workflow is improving and getting out of the shell of
Drupal 6/7. Further, the complexity of the Drupal sites on the backend via
hybrid and headless sites is also on a downfall, making an easy transition
towards Drupal 8.
How to Use Web Components in Drupal?
● As an emerging web industry, web components replace the layout
systems, template engines, and endless twig files. In this futuristic
approach, Drupal supports Polymer, a powerful JavaScript library, for
building multiple component engines and creating simple reusable and
documented templates.
● It also utilizes the web component entity type so that can save after
parsing html files it finds, making Drupal aware of all the polymer
components it finds.
You can also use vanilla JavaScript, HTML and CSS to write web
components. However, web components can only be used with HTML skills
and in back-end templating languages like Twig.
When we adopt web components in line with Drupal's principle to support
established and emergent standards, the proposed resolution is:
● To create a proof of concept project with Web Components using
vanilla JavaScript. This can be used as a basis for related issues and
decisions.
● To decide on if you want to commit to and adopt Web Components
Conclusion
● With several open issues related to component based theming
and front-end frameworks, Web Components are very much a
possible resolution in Drupal.
● As Drupal 9 is just around the corner, drupalers await the big leap
forward for UX with better JavaScript and component-based
theming. Till then, Drupal 8 and its features can execute all your
website requirements.
Talk to Drupal experts, ping us at
hello@opensenselabs.com to get the best of
Drupal and augmented reality for your future
businesses.
THANK YOU

More Related Content

ODP
Joomla X Overview
PDF
Efficiently theming a multi-site Drupal 8 portal - Drupal Dev Days Seville 2017
PDF
Mike_Robertson_Resume (1)
PDF
Progressive Javascript: Why React when you can Vue?
PDF
OpenCms Days 2012 - OpenCms 8.5: Creating "in place" editable pages with the ...
PDF
Stencil the time for vanilla web components has arrived
PDF
Migrate for Site Builders from MidCamp 2016
PPTX
Product Camp Silicon Valley 2018 - PM Technical Skills
Joomla X Overview
Efficiently theming a multi-site Drupal 8 portal - Drupal Dev Days Seville 2017
Mike_Robertson_Resume (1)
Progressive Javascript: Why React when you can Vue?
OpenCms Days 2012 - OpenCms 8.5: Creating "in place" editable pages with the ...
Stencil the time for vanilla web components has arrived
Migrate for Site Builders from MidCamp 2016
Product Camp Silicon Valley 2018 - PM Technical Skills

What's hot (20)

PPTX
Drupal 7 vs. Drupal 8: A Contrast of Multilingual Support
PDF
Expectations vs Reality When Implementing vue.js
PDF
Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012
PDF
Top Frontend Framework 2022
PPTX
Headless Drupal with AngularJS
PDF
Website factory with domain Access: why and how& - Kiêt Trân & David Ferlay
ODP
Drupal in 5mins + Previewing Drupal 8.x
PDF
Proggis - Business Analytics with Linked Data
PDF
Managing Translation Workflows in Drupal 7
PPTX
Drupal core indeas - Andy Postnikov
PDF
Generic repository pattern with ASP.NET MVC and Entity Framework
PPTX
Q tales project - WebGL
PDF
Drupal 8, tricks and tips learned from the first 6 months
PDF
JAMstack with gatsby, contentful and netlify aka the dream stack
PDF
HeadLess Drupal
PPT
PPTX
JavaScript - Kristiansand PHP
PPTX
Web profiler in drupal 8
PDF
Headless Drupal 8
PPTX
What is headless drupal?
Drupal 7 vs. Drupal 8: A Contrast of Multilingual Support
Expectations vs Reality When Implementing vue.js
Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012
Top Frontend Framework 2022
Headless Drupal with AngularJS
Website factory with domain Access: why and how& - Kiêt Trân & David Ferlay
Drupal in 5mins + Previewing Drupal 8.x
Proggis - Business Analytics with Linked Data
Managing Translation Workflows in Drupal 7
Drupal core indeas - Andy Postnikov
Generic repository pattern with ASP.NET MVC and Entity Framework
Q tales project - WebGL
Drupal 8, tricks and tips learned from the first 6 months
JAMstack with gatsby, contentful and netlify aka the dream stack
HeadLess Drupal
JavaScript - Kristiansand PHP
Web profiler in drupal 8
Headless Drupal 8
What is headless drupal?
Ad

Similar to Web components (20)

ODP
Contributions: what they are and how to find them
PDF
Top Web Development Frameworks Comparison: All You Need To Know
PPTX
Web component
PPTX
Choosing your frontend web framework.pptx
DOCX
What are the basic key points to focus on while learning Full-stack web devel...
PDF
Web Development Mastery_ From Fundamentals to Expert-Level Skills.pdf
PDF
PDF
Drupal 8 and Pantheon
PDF
10 Best Web Development Frameworks for Your Business Needs
PDF
What in store in drupal 8
PPTX
Javascript frameworks
PDF
12 Front-End App Development Languages to Consider in 2023
PDF
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
DOCX
Top 10 Javascript Frameworks For Easy Web Development
PDF
Decoupled drupal DcRuhr
PDF
Introduction to drupal
PDF
Itroducing Angular JS
PPTX
Getting Started with Lightning Web Components | LWC | Salesforce
PDF
Web Application Development – Top 8 Frameworks in 2025.pdf
PDF
10 Best Front-end Frameworks for Web Development
Contributions: what they are and how to find them
Top Web Development Frameworks Comparison: All You Need To Know
Web component
Choosing your frontend web framework.pptx
What are the basic key points to focus on while learning Full-stack web devel...
Web Development Mastery_ From Fundamentals to Expert-Level Skills.pdf
Drupal 8 and Pantheon
10 Best Web Development Frameworks for Your Business Needs
What in store in drupal 8
Javascript frameworks
12 Front-End App Development Languages to Consider in 2023
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
Top 10 Javascript Frameworks For Easy Web Development
Decoupled drupal DcRuhr
Introduction to drupal
Itroducing Angular JS
Getting Started with Lightning Web Components | LWC | Salesforce
Web Application Development – Top 8 Frameworks in 2025.pdf
10 Best Front-end Frameworks for Web Development
Ad

More from OpenSense Labs (18)

PDF
Executing Deployment & Release Strategies
PPTX
Infrastructure as Code principles and practices
PPTX
Coming together of accessibility and usability
PPTX
Best Security Focussed CMS: Drupal 8
PPTX
DevOps culture
PPTX
7 automated visual testing tools for you
PPTX
Top Drupal 8 Distributions
PPTX
How is Drupal Ensuring the Web Accessibility Standards?
PPTX
How can Augmented Reality and Drupal Come Together
PPTX
Power of Microservices Architecture in Drupal Development
PPTX
Top 10 Drupal Themes for 2018
PPTX
Gaming Companies and Communities for Drupal
PPTX
ADA Accessibility Checklist in Higher Education
PPTX
Drupal 8.6 Release and the Road Ahead
PPTX
Understanding Distributed Content Management System
PPTX
Scrum Framework: An Agile Solution for Drupal Development
PPTX
In the Pursuit of Headless with Contenta
PPTX
Drupal Effect on High Performance Websites
Executing Deployment & Release Strategies
Infrastructure as Code principles and practices
Coming together of accessibility and usability
Best Security Focussed CMS: Drupal 8
DevOps culture
7 automated visual testing tools for you
Top Drupal 8 Distributions
How is Drupal Ensuring the Web Accessibility Standards?
How can Augmented Reality and Drupal Come Together
Power of Microservices Architecture in Drupal Development
Top 10 Drupal Themes for 2018
Gaming Companies and Communities for Drupal
ADA Accessibility Checklist in Higher Education
Drupal 8.6 Release and the Road Ahead
Understanding Distributed Content Management System
Scrum Framework: An Agile Solution for Drupal Development
In the Pursuit of Headless with Contenta
Drupal Effect on High Performance Websites

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Cloud computing and distributed systems.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
A Presentation on Artificial Intelligence
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
KodekX | Application Modernization Development
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Approach and Philosophy of On baking technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Modernizing your data center with Dell and AMD
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
Unlocking AI with Model Context Protocol (MCP)
Cloud computing and distributed systems.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The Rise and Fall of 3GPP – Time for a Sabbatical?
A Presentation on Artificial Intelligence
Reach Out and Touch Someone: Haptics and Empathic Computing
Building Integrated photovoltaic BIPV_UPV.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
cuic standard and advanced reporting.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
KodekX | Application Modernization Development
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
NewMind AI Monthly Chronicles - July 2025
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Approach and Philosophy of On baking technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
Modernizing your data center with Dell and AMD
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
The AUB Centre for AI in Media Proposal.docx

Web components

  • 1. Welcome to the World of Web Components
  • 2. Index ● Introduction ● Why Web Components ● Examples ● Modules vs Web Components ● Drupal Connect ● Migrating from Drupal 6/7 to Drupal 8 ● Conclusion
  • 3. ● Adhering with existing web standards, web components are nothing but a collection of technologies combined to allow developers to create reusable components(bundles of HTML, CSS, JavaScript). They let us effectively describe the implementation of HTML elements that already exist for the web. ● Similar to the component-based frameworks like Vue and React, web components lead us to create component-based applications natively in the browser. Introduction
  • 4. With these basics in check, we will walk through... ● The process of how web component can ease the process with suitable examples ● Introduce techniques to integrate web components with Drupal ● Discuss the comparison between Drupal modules and web components in modern web development.
  • 5. Why Web Components? When a design is to be development phase, the first step of the front end process is to break down the design into components. It is very much possible that the style of an article can be one of the components that occurs on multiple pages. Thus, a web component for styling can be utilised to obtain a standard style on all pages. In this process, when similar requirements are bundled, they lead to faster application and reduce duplication of work. Design In development phase Components Eg: header, footer, images, etc. Web components To obtain a standard style on all page
  • 6. Examples ● For creating custom elements, Polymer can provide a set of features. ● An open source lightweight web component library, Slim.js, provides data-binding and extended capabilities for components. ● Stencil, an open source compiler, can generate standards- compliant web components. ● Hybrids, a UI library, can create Web Components with a simple and functional API. ● LitElement adds API to help manage element properties and attributes.
  • 7. Modules Vs Web Components Autonomous units made up of components Act as a group of reusable codes containing more than one element Eg: header, footer, articles, and sections Eg: unordered lists, quotes, cards, tables, etc Each one has a special style and function to create an independent whole Assimilated in different ways with other components to build a different program
  • 8. Drupal Connect Drupal.org provides for about 17,000 modules available to download for Drupal-powered sites As an emerging web industry, web components replace the layout systems, template engines, and endless tpl files
  • 9. Migrate from Drupal 6/7 to Drupal 8 ● Display suite, a redefined list of layouts, allows you to take full control over how your content is displayed using a drag and drop interface in Drupal ● With the decrease in its requirement on the module side, companies are scaling up to Drupal 8 to decrease the complexity of the sites along with opening up pathways to a more fun and progressive programming. ● At the same time, the workflow is improving and getting out of the shell of Drupal 6/7. Further, the complexity of the Drupal sites on the backend via hybrid and headless sites is also on a downfall, making an easy transition towards Drupal 8.
  • 10. How to Use Web Components in Drupal? ● As an emerging web industry, web components replace the layout systems, template engines, and endless twig files. In this futuristic approach, Drupal supports Polymer, a powerful JavaScript library, for building multiple component engines and creating simple reusable and documented templates. ● It also utilizes the web component entity type so that can save after parsing html files it finds, making Drupal aware of all the polymer components it finds.
  • 11. You can also use vanilla JavaScript, HTML and CSS to write web components. However, web components can only be used with HTML skills and in back-end templating languages like Twig. When we adopt web components in line with Drupal's principle to support established and emergent standards, the proposed resolution is: ● To create a proof of concept project with Web Components using vanilla JavaScript. This can be used as a basis for related issues and decisions. ● To decide on if you want to commit to and adopt Web Components
  • 12. Conclusion ● With several open issues related to component based theming and front-end frameworks, Web Components are very much a possible resolution in Drupal. ● As Drupal 9 is just around the corner, drupalers await the big leap forward for UX with better JavaScript and component-based theming. Till then, Drupal 8 and its features can execute all your website requirements.
  • 13. Talk to Drupal experts, ping us at hello@opensenselabs.com to get the best of Drupal and augmented reality for your future businesses.