~/talk

My Single Directory Components Workflow

Talkat Florida DrupalCamp 2025 · 2025-02-21..02-23· [drupal, frontend-architecture]
links:none on file
slides:none on file

Claim: Single Directory Components (SDCs) map cleanly to modern component ideas and speed Drupal theming, but they keep some old constraints (schema enforcement can fatal‑error, CKEditor blocks custom elements). Workflow: prototype in Astro prototype (bolt.new + AI for markup/styles), then drop a card into a theme as a component folder with card.component.yaml (JSON schema), card.twig, card.css and card.js. Built a retro card component upgraded to a web component, integrated with props/slots and contrib modules; it mostly works with no build step required.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:54What are single directory components
  3. 8:58Prototyping outside Drupal
  4. 16:47Props and slots in SDCs
  5. 27:08Integrating SDCs into Drupal
  6. 31:55Defining slots in SDCs
  7. 34:04Defining props in SDCs
  8. 37:40Adding JavaScript to SDCs
  9. 39:04SDC workflow summary
  10. 41:12Build process and SDCs
  11. 43:00Indispensable contrib tools
  12. 45:27Props vs slots best practices
  13. 46:28Advanced build process setup
  14. 47:10SDCs and CKEditor limitations
  15. 47:52Future of SDCs and experience Builder
  16. 48:35Q&A and closing remarks
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.