~/talk

Lessons Learned from Upgrading Thymeleaf

Talkat SpringOne Platform 2017 · 2017-12-04..12-07· [java]
links:none on file
slides:none on file

Broadleaf upgrades Thymeleaf 2 → 3 to use first-class fragment parameters and drops XML parsing for an auto HTML parser, yielding measurable speedups and full HTML5 support. About 60–70 custom processors get rewritten to the new modular processor APIs; a compatibility layer and Spring resource template resolver let one codebase run both versions. Watch out for self-closing tag behavior (self-closing divs break rendering) and for global variables set inside processors—those must move to request scope or be redesigned. Overall migration mostly succeeds.

AI-written summary · about

  1. 0:00Intro
  2. 0:11Broadleaf Commerce
  3. 2:23Thymeleaf 3 Features - Fragments
  4. 4:26Fragments - Examples (base.html)
  5. 6:34Fragments - Examples (resulting main.html)
  6. 7:01Thymeleaf 3 Features - Decoupled Templating
  7. 11:31Variable Expressions - Thymeleaf 2
  8. 12:27Variable Expressions - Difference
  9. 13:14Dialects - Thymeleaf 3
  10. 15:22Dialects - Difference
  11. 15:40Processors - Thymeleaf 3
  12. 18:15Processors - Differences
  13. 19:02Configuration - Maven POM
  14. 19:20Configuration - Spring Java Config
  15. 20:31Summary
  16. 21:53Resources
~/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.