SlideShare a Scribd company logo
VanillaJS et la Web Platform,
le couple de l'année?
Bertrand Delacrétaz
Principal Scientist, Adobe
Member of the Board of Directors,
Apache Software Foundation
Very Tech Trip, Paris, Février 2023
Photos are from Adobe Stock unless indicated otherwise
slides version 2023-02-01b
Web Platform?
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
The Web Platform
https://www.ecma-international.org/publications-and-standards/standards/ecma-262/
https://www.w3.org/Style/CSS/specs.en.html
https://html.spec.whatwg.org/
https://developer.mozilla.org/en-US/
CURIA VISTA - 1999
www.parlament.ch
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
The Web Platform : the Evergreen Web
https://www.w3.org/2001/tag/doc/evergreen-web/
Constant evolution is fundamental to the web's usefulness
Browsers are a part of the web and therefore they must be continually updated.
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
The Web Platform : resources
Mozilla Developer Network (MDN)
https://developer.mozilla.org/en-US/
web.dev
brought to you by the Google Chrome DevRel team
https://web.dev/
web-platform-tests.org
cross-browser test suite for the Web Platform stack
caniuse.com
Browser support tables for modern web technologies
Vanilla JS ?
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
Vanilla JS ?
+ Web API
https://developer.mozilla.org/en-US/docs/Web/API
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
JavaScript Frameworks: why?
components
examples
best practices
tools
developers
events
training
documentation
well-known
modern
portable
conferences
No more Web Frameworks?
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
Web Platform, Web Components?
components
examples
best practices
tools
developers
events
training
documentation
well-known
modern
portable
conferences
The Web Platform and Web Components provide all 99% 93.42% of this!
long-lived learning
standards
Web Components
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
Web Components ?
MDN says:
Web Components is a suite of
different technologies allowing you
to create reusable custom
elements — with their functionality
encapsulated away from the rest of
your code — and utilize them in
your web apps.
https://developer.mozilla.org/en-US/docs/Web/Web_Components
custom elements
shadow dom
HTML templates
encapsulated JavaScript & CSS
progressive enhancement
custom events
polyfills
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
Web Components : who ?
https://github.blog/2021-05-04-how-we-use-web-components-at-github/
https://vitemadose.covidtracker.fr/
https://opensource.adobe.com/spectrum-web-components/
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
Web Components : example
no JavaScript:
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
Web Components : list
custom element names
console.log(
[...new Set([].map.call(
document.querySelectorAll('*'),
el => el.nodeName.toLowerCase()))
].filter(
customElements
.get.bind(customElements)
)
)
TodoMVC
Using Web Components
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
TodoMVC using Web Components
https://github.com/adobe/web-platform-zoo
https://opensource.adobe.com/web-platform-zoo/examples/web-components/todomvc/
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
TodoMVC:
todo-list component
Usage:
Testing
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
End-to-end testing: Playwright ?
https://playwright.dev/
Cross-browser, cross-platform, cross-language
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
Testing the TodoMVC
Web Components
Playwright test report:
Coda
VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023
@bdelacretaz
https://fosstodon.org/@bdelacretaz
https://grep.codeconsult.ch/
Web Components
modern and forward-looking
the Web Platform is back!
Evergreen Web
modern css
modern html
modern JavaScript
https://blog.developer.adobe.com/the-web-platform-is-back-fa5752fabdfc
long-lived learning
standards

More Related Content

PDF
ASP Dot Net Software Development in India - iFour Technolab
PPTX
PDF
"Running Node.js in your browser with WebContainers", Oleksandr Zinevych
PPTX
Web matrix part 2
PPTX
Web components: the future has come
PPTX
Microserviços na vida real
PDF
TechDays 2017 - Asp.NET Core Anwendungen automatisiert als Container ausliefern
PDF
"Micro frontends: Unbelievably true life story", Dmytro Pavlov
ASP Dot Net Software Development in India - iFour Technolab
"Running Node.js in your browser with WebContainers", Oleksandr Zinevych
Web matrix part 2
Web components: the future has come
Microserviços na vida real
TechDays 2017 - Asp.NET Core Anwendungen automatisiert als Container ausliefern
"Micro frontends: Unbelievably true life story", Dmytro Pavlov

Similar to VanillaJS & the Web Platform, a match made in heaven? (20)

PDF
Dart By Example 1st Edition Davy Mitchell
PPT
Daniel Egan Msdn Tech Days Oc
PDF
Morden F2E Education - Think of Progressive Web Apps
PPTX
Android app development Hybrid approach for beginners
PDF
Report file on Web technology(html5 and css3)
PPTX
Html5 Overview
PDF
www.webre24h.com - An ajax tool for online modeling
PDF
NET Microservices Architecture for Containerized NET Applications Cesar De La...
PDF
DevDay 2018: Ulrich Deiters - Offline First - kein Netz, kein Fehler, zufried...
PPTX
Transforming the web into a real application platform
PPTX
Micro-Frontends JSVidCon
PDF
Why do JavaScript enthusiast think of Vue.js for building real-time web appli...
PPTX
Fronted development trends - past, present and the future
PDF
HTML5 & Renesas RZ/G
PPTX
3D and VR on the web
PPTX
JavaScript Presentation Frameworks and Libraries
PDF
Dart By Example 1st Edition Davy Mitchell
PDF
Link. wicket [santi caltabiano].txt blocco note
PPTX
Client Side Frameworks
PDF
Change by HTML5
Dart By Example 1st Edition Davy Mitchell
Daniel Egan Msdn Tech Days Oc
Morden F2E Education - Think of Progressive Web Apps
Android app development Hybrid approach for beginners
Report file on Web technology(html5 and css3)
Html5 Overview
www.webre24h.com - An ajax tool for online modeling
NET Microservices Architecture for Containerized NET Applications Cesar De La...
DevDay 2018: Ulrich Deiters - Offline First - kein Netz, kein Fehler, zufried...
Transforming the web into a real application platform
Micro-Frontends JSVidCon
Why do JavaScript enthusiast think of Vue.js for building real-time web appli...
Fronted development trends - past, present and the future
HTML5 & Renesas RZ/G
3D and VR on the web
JavaScript Presentation Frameworks and Libraries
Dart By Example 1st Edition Davy Mitchell
Link. wicket [santi caltabiano].txt blocco note
Client Side Frameworks
Change by HTML5
Ad

More from Bertrand Delacretaz (20)

PDF
Surviving large online communities with conciseness and clarity
PDF
Repoinit: a mini-language for content repository initialization
PDF
The Moving House Model, adhocracy and remote collaboration
PDF
GraphQL in Apache Sling - but isn't it the opposite of REST?
PDF
Open Source Changes the World!
PDF
How to convince your left brain (or manager) to follow the Open Source path t...
PDF
L'Open Source change le Monde - BlendWebMix 2019
PDF
Shared Neurons - the Secret Sauce of Open Source communities?
PDF
Sling and Serverless, Best Friends Forever?
PDF
Serverless - introduction et perspectives concrètes
PDF
State of the Feather - ApacheCon North America 2018
PDF
Karate, the black belt of HTTP API testing?
PDF
Open Source at Scale: the Apache Software Foundation (2018)
PDF
They don't understand me! Tales from the multi-cultural trenches
PDF
Prise de Décisions Asynchrone, Devoxx France 2018 (avec vidéo)
PDF
Project and Community Services the Apache Way
PDF
La Fondation Apache - keynote au Paris Open Source Summit 2017
PDF
Asynchronous Decision Making - FOSS Backstage 2017
PDF
Building an Apache Sling Rendering Farm
PDF
Who needs meetings? Asynchronous Decision Making to the rescue
Surviving large online communities with conciseness and clarity
Repoinit: a mini-language for content repository initialization
The Moving House Model, adhocracy and remote collaboration
GraphQL in Apache Sling - but isn't it the opposite of REST?
Open Source Changes the World!
How to convince your left brain (or manager) to follow the Open Source path t...
L'Open Source change le Monde - BlendWebMix 2019
Shared Neurons - the Secret Sauce of Open Source communities?
Sling and Serverless, Best Friends Forever?
Serverless - introduction et perspectives concrètes
State of the Feather - ApacheCon North America 2018
Karate, the black belt of HTTP API testing?
Open Source at Scale: the Apache Software Foundation (2018)
They don't understand me! Tales from the multi-cultural trenches
Prise de Décisions Asynchrone, Devoxx France 2018 (avec vidéo)
Project and Community Services the Apache Way
La Fondation Apache - keynote au Paris Open Source Summit 2017
Asynchronous Decision Making - FOSS Backstage 2017
Building an Apache Sling Rendering Farm
Who needs meetings? Asynchronous Decision Making to the rescue
Ad

Recently uploaded (20)

PPTX
CSharp_Syntax_Basics.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PDF
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PDF
The Internet -By the Numbers, Sri Lanka Edition
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PDF
“Google Algorithm Updates in 2025 Guide”
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
durere- in cancer tu ttresjjnklj gfrrjnrs mhugyfrd
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
DOCX
Unit-3 cyber security network security of internet system
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PPTX
Digital Literacy And Online Safety on internet
PPTX
SAP Ariba Sourcing PPT for learning material
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
artificial intelligence overview of it and more
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
CSharp_Syntax_Basics.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxx
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
Cloud-Scale Log Monitoring _ Datadog.pdf
The Internet -By the Numbers, Sri Lanka Edition
Triggering QUIC, presented by Geoff Huston at IETF 123
Decoding a Decade: 10 Years of Applied CTI Discipline
“Google Algorithm Updates in 2025 Guide”
522797556-Unit-2-Temperature-measurement-1-1.pptx
durere- in cancer tu ttresjjnklj gfrrjnrs mhugyfrd
Paper PDF World Game (s) Great Redesign.pdf
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Unit-3 cyber security network security of internet system
PptxGenJS_Demo_Chart_20250317130215833.pptx
Digital Literacy And Online Safety on internet
SAP Ariba Sourcing PPT for learning material
presentation_pfe-universite-molay-seltan.pptx
artificial intelligence overview of it and more
Introuction about ICD -10 and ICD-11 PPT.pptx
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Module 1 - Cyber Law and Ethics 101.pptx

VanillaJS & the Web Platform, a match made in heaven?

  • 1. VanillaJS et la Web Platform, le couple de l'année? Bertrand Delacrétaz Principal Scientist, Adobe Member of the Board of Directors, Apache Software Foundation Very Tech Trip, Paris, Février 2023 Photos are from Adobe Stock unless indicated otherwise slides version 2023-02-01b
  • 3. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 The Web Platform https://www.ecma-international.org/publications-and-standards/standards/ecma-262/ https://www.w3.org/Style/CSS/specs.en.html https://html.spec.whatwg.org/ https://developer.mozilla.org/en-US/ CURIA VISTA - 1999 www.parlament.ch
  • 4. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 The Web Platform : the Evergreen Web https://www.w3.org/2001/tag/doc/evergreen-web/ Constant evolution is fundamental to the web's usefulness Browsers are a part of the web and therefore they must be continually updated.
  • 5. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 The Web Platform : resources Mozilla Developer Network (MDN) https://developer.mozilla.org/en-US/ web.dev brought to you by the Google Chrome DevRel team https://web.dev/ web-platform-tests.org cross-browser test suite for the Web Platform stack caniuse.com Browser support tables for modern web technologies
  • 7. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 Vanilla JS ? + Web API https://developer.mozilla.org/en-US/docs/Web/API
  • 8. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 JavaScript Frameworks: why? components examples best practices tools developers events training documentation well-known modern portable conferences
  • 9. No more Web Frameworks?
  • 10. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 Web Platform, Web Components? components examples best practices tools developers events training documentation well-known modern portable conferences The Web Platform and Web Components provide all 99% 93.42% of this! long-lived learning standards
  • 12. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 Web Components ? MDN says: Web Components is a suite of different technologies allowing you to create reusable custom elements — with their functionality encapsulated away from the rest of your code — and utilize them in your web apps. https://developer.mozilla.org/en-US/docs/Web/Web_Components custom elements shadow dom HTML templates encapsulated JavaScript & CSS progressive enhancement custom events polyfills
  • 13. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 Web Components : who ? https://github.blog/2021-05-04-how-we-use-web-components-at-github/ https://vitemadose.covidtracker.fr/ https://opensource.adobe.com/spectrum-web-components/
  • 14. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 Web Components : example no JavaScript:
  • 15. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 Web Components : list custom element names console.log( [...new Set([].map.call( document.querySelectorAll('*'), el => el.nodeName.toLowerCase())) ].filter( customElements .get.bind(customElements) ) )
  • 17. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 TodoMVC using Web Components https://github.com/adobe/web-platform-zoo https://opensource.adobe.com/web-platform-zoo/examples/web-components/todomvc/
  • 18. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 TodoMVC: todo-list component Usage:
  • 20. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 End-to-end testing: Playwright ? https://playwright.dev/ Cross-browser, cross-platform, cross-language
  • 21. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 Testing the TodoMVC Web Components Playwright test report:
  • 22. Coda
  • 23. VanillaJS et la Web Platform :: Bertrand Delacrétaz, Adobe, 2023 @bdelacretaz https://fosstodon.org/@bdelacretaz https://grep.codeconsult.ch/ Web Components modern and forward-looking the Web Platform is back! Evergreen Web modern css modern html modern JavaScript https://blog.developer.adobe.com/the-web-platform-is-back-fa5752fabdfc long-lived learning standards