Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Thymeleaf - Eine Template-Engine für Entwickler und Designer
Gerrit Meier
October 20, 2016
Programming
0
350
Thymeleaf - Eine Template-Engine für Entwickler und Designer
Gerrit Meier
October 20, 2016
Tweet
Share
More Decks by Gerrit Meier
See All by Gerrit Meier
meistermeier
0
590
meistermeier
0
42
meistermeier
1
900
meistermeier
0
110
meistermeier
0
60
meistermeier
0
90
Other Decks in Programming
See All in Programming
line_developers_tw2
0
840
kazaman97
0
210
koher
7
690
junmikai
0
300
ajstarks
2
550
hr01
0
1.7k
masayaaoyama
4
550
manfredsteyer
PRO
0
280
yosuke_furukawa
PRO
14
4k
trajchevska
2
390
yumcyawiz
5
670
standfm
1
290
Featured
See All Featured
eitanlees
111
9.9k
dotmariusz
94
5.1k
malarkey
393
60k
colly
187
14k
sstephenson
144
12k
dougneiner
119
7.8k
brad_frost
156
6.4k
jponch
103
5k
myddelton
109
11k
gr2m
83
11k
productmarketing
5
660
addyosmani
310
21k
Transcript
Thymeleaf Gerrit Meier@JavaForumNord 2016 Eine Template-Engine für Entwickler und Designer
https://www.flickr.com/photos/agenturblog/441242660/
None
None
ähm..hä? …vielleicht doch nicht nur?!
Senior Consultant T-Systems on site services GmbH JUG Ostfalen Co-Organisator
Podcast meistermeier
Gibt es da nicht schon etwas?
JSP, Tiles, FreeMarker, Velocity…
JSP, Tiles, FreeMarker, Velocity…
None
static view
Geht das denn nicht irgendwie besser?
Thymeleaf https://commons.wikimedia.org/wiki/File:Arenaria_serpyllifolia_(8490448608).jpg
Natural templates
None
static view
https://www.flickr.com/photos/freespiritart/6379007221 Expressions
Variables ${…}
Messages #{…}
‚Selected object‘ *{…}
URL-Expressions @{…}
Loops
Placeholder
Placeholder
static view
web app view
Processors https://www.flickr.com/photos/fransdewit/15849351119
Processors th:* th:<html-attribute> th:attr=“value=#{message.attrValue}“
Processors th:* th:if, th:unless, th:switch, th:case th:each th:insert, th:include, th:replace
th:text, th:utext th:…
Processors th:block
Processors - web app view th:block
Processors - static view th:block
Prototype-only comment blocks <!--/*/ … /*/-->
Prototype-only comment blocks web app view
Prototype-only comment blocks static view
Fragments https://www.flickr.com/photos/jhritz/409083204
Fragments header.html
Fragments index.html
Fragments - web app view th:replace
Fragments - web app view th:insert
Fragments - web app view th:include
Utility Objects https://www.flickr.com/photos/darkthirty/49673752
Utility Objects (Expression Utility Objects) Lists, Dates, Strings, …
Utility Objects (Lists)
Utility Objects (Dates)
Utility Objects (Strings)
Utility Objects (misc)
? Fragen ? https://www.flickr.com/photos/visualanthology/13074410454
meistermeier