~/talk

Components everywhere! - Bridging the gap between backend and frontend

Talkat DrupalCon Amsterdam 2019 · 2019-10-28..10-31· [web-platform, component-design]
links:none on file
slides:none on file

Proposal makes web components a first-class concept in Drupal backend, using Twig/Twing to render server HTML and exporting component data via Drupal.settings so the same template powers server output and client rehydration. Pattern converts a 'most_recent' block to be server-rendered then real-time React update (or Vue/Svelte) by wiring a client store (Yjs or Firebase) and lazy builders; claim: 95% of templates need no duplicate code and performance trade-offs are acceptable.

AI-written summary · about

  1. 0:00Introduction to components
  2. 1:12Session overview
  3. 3:31The problem with decoupled
  4. 5:53Web components in Drupal
  5. 7:11Understanding web components
  6. 8:35Drupal's rendering challenge
  7. 10:20History of Drupal rendering
  8. 13:02Twig and BigPipe impact
  9. 14:47Decoupling within the backend
  10. 17:10Data-driven frontend
  11. 19:07Twig components and libraries
  12. 21:09Virtual DOM and rendering
  13. 24:32Server-side rendering success
  14. 26:41Reactivity and stores
  15. 28:00Real-time and offline capabilities
  16. 29:59Future steps and vision
  17. 31:44The future of single page apps
  18. 34:02Q&A and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.