~/talk

[T]alking about [W]hat [I]s [G]reat about TWIG

Talkat MidCamp 2017 · 2017-03-30..04-02· [web-platform, frontend-architecture]
links:none on file
slides:none on file

Drupal 8 uses Twig for theming and the talk gives concrete how‑tos: register templates with hook_theme registration (themes) or the module templates folder (modules), use inheritance and extend instead of copy‑paste to avoid duplication, and build responsive images with srcset in render arrays. Performance wins come from BigPipe (stable in 8.3) and proper render array caching (keys, contexts, tags, max_age). Debug with Kint (limit levels in preprocess), Symfony VarDumper or Xdebug to avoid out‑of‑memory crashes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Twig versus decoupled front end
  3. 7:52Why choose Twig
  4. 13:09Custom Twig templates
  5. 16:46Template inheritance
  6. 18:51Twig basics and filters
  7. 24:08Render arrays and caching
  8. 27:43Debugging Twig templates
  9. 33:23Twig coding standards
  10. 35:11Staying updated on Twig
  11. 37:19Level up your skills
  12. 38:44Q&A
~/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.