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
Enforcing Architecture in Legacy Systems
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Roland Weisleder
June 18, 2026
Programming
12
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Enforcing Architecture in Legacy Systems
Roland Weisleder
June 18, 2026
Transcript
17 slides
Enforcing Architecture in Legacy Systems @rweisleder.de
[email protected]
Whoever wishes to build high towers must spend much time
near the foundation. Anton Bruckner
Source: https://unsplash.com/photos/AF36q06J8fQ
Source: https://xkcd.com/2347/
Source: https://www.monkeyuser.com/2019/v-201/
Source: https://unsplash.com/photos/snNHKZ-mGfE
Compatibility Portability Maintainability Security Performance effiency Reliability Usability Functional suitability
Evolution Value Chain Genesis Custom Built Product Commodity visible invisible Based on: https://www.innoq.com/en/blog/quality-value-chain-evolution/
Challenge: Architecture Code Gap { }
Architecture Tests as Guardrails • Make architecture explicit • Prevent
architectural erosion • Guide continuous change
Demo
Enforcing Architecture Stepwise Technical Architecture • Naming conventions • Layered
architecture • Framework boundaries • Dependency rules Domain Architecture • Module boundaries • Dependency directions • Cycle prevention • Public APIs Cross-Cutting Concerns Security Transaction Auditing Observability
Best Practices in Legacy Systems • Start with the thing
that causes the most issues • Use freezing if you can’t fix it immediately • Resolve violations stepwise
Challenge: Architecture Code Gap { } Easy to use in
legacy projects ☺
https://github.com/rweisleder/archunit-spring
With ArchUnit, the Leaning Tower of Pisa would not have
happened. Some AI trying to summarize this talk
Testing can detect only the presence of errors, not their
absence.
Enforcing Architecture in Legacy Systems Code github.com/rweisleder/archunit-spring github.com/rweisleder/archunit-talk-examples github.com/TNG/ArchUnit-Examples Docs
archunit.org archunitnet.readthedocs.io ts-arch.github.io/ts-arch/ pypi.org/project/PyTestArch/ Slides speakerdeck.com/rweisleder Need help with your Legacy Code? Contact me!
[email protected]
in/roland-weisleder @rweisleder.de
More Decks by Roland Weisleder
See All by Roland Weisleder
Architecture as Code in Practice
rweisleder
0
54
Three Principles To Bring Your Legacy Code Into the Future
rweisleder
0
260
Unit Test Your Java Architecture With ArchUnit
rweisleder
0
660
Immer wieder die gleichen Fehler? Nicht mit ArchUnit!
rweisleder
0
420
Alles einsteigen! Einen eigenen Release Train mit Maven umsetzen
rweisleder
0
370
7 Tipps für eine verständliche Git-Historie
rweisleder
0
200
Other Decks in Programming
See All in Programming
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
980
Modernizing iOS Apps
seyfoyun
0
150
Next.js: The final boss of Web Performance
guaca
0
400
Seven New Principles of Software Engineering
yegor256
0
480
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
850
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
130
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.8k
Event is what happens
moro
2
4.5k
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
350
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
560
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
600
はじめてのPLATEAU
nokonoko1203
1
640
Featured
See All Featured
It's Worth the Effort
3n
188
29k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
For a Future-Friendly Web
brad_frost
184
11k
Prompt Engineering for Job Search
mfonobong
0
580
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
430
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Six Lessons from altMBA
skipperchong
29
4.6k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
480
Designing for Performance
lara
612
70k
Faster Mobile Websites
deanohume
310
32k