Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Thymeleaf - Eine Template-Engine für Entwickler...
Search
Gerrit Meier
October 20, 2016
Programming
710
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Thymeleaf - Eine Template-Engine für Entwickler und Designer
Gerrit Meier
October 20, 2016
Transcript
48 slides
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
More Decks by Gerrit Meier
See All by Gerrit Meier
Neo4j for Java developers
meistermeier
1
190
Work harder not smarter
meistermeier
0
150
Better Testing with Testcontainers
meistermeier
0
140
What the Graph?
meistermeier
1
1.4k
Beziehungsmanagement mit Spring Data Neo4j
meistermeier
1
97
Time to Graph Up with Spring Data Neo4j
meistermeier
1
1.6k
Wie soll man das denn nutzen? - Spring REST Docs
meistermeier
0
200
MVC 1.0
meistermeier
0
160
Spring MVC
meistermeier
1
220
Other Decks in Programming
See All in Programming
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
390
Distance field of Julia set
kinakomoti321
0
330
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
400
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
220
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
220
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
140
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
200
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
320
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
190
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
4
570
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
540
Why Our Code Smells
bkeepers
PRO
340
58k
Designing for Performance
lara
612
70k
Become a Pro
speakerdeck
PRO
31
6.4k
Navigating Team Friction
lara
192
16k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
360
The Invisible Side of Design
smashingmag
301
52k
Paper Plane
katiecoart
PRO
6
55k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
540
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k