-
Continue reading →: DDD in the Order Service: Let the Aggregate Guard Its Own Invariants
I keep seeing the same DDD mistake: an “anemic” Order entity whose rules are scattered across many service classes. An aggregate solves this: there is exactly one root, in this case the Order. Only this root is allowed to change the internal state, so all invariants are checked in one…
-
Continue reading →: DDD: Aggregate Root in Order Service
An aggregate protects the rules of one order. In our Order Service, Order is the root. Nobody changes OrderLine without the root. So the root checks: no items after shipping. This keeps data consistent in one transaction.
-
Continue reading →: DDD: Publish a Domain Event Instead of Calling Other Services
A domain event states a business fact in the past tense. Small Java example: the Order Service publishes OrderPlaced and stays decoupled from Payment and Shipping.
-
Continue reading →: Agentic Architecture: Put an Approval Gate in Front of Write Tools
An agent with write access to your Order Service needs the same guardrails as any other client. A small approval gate in Java keeps the blast radius small.
-
Continue reading →: Architecture Documentation: Keep a Living Building Block View in Your Repo
Architecture documentation usually fails because it lives in a wiki that nobody updates after the first release. A better approach is docs-as-code: you keep the arc42 building block view as a plain text file in the same repository as the service, so every pull request can change code and documentation…
-
Continue reading →: iSAQB CLOUDINFRA: Make Deployment Strategy an Architecture Decision
CLOUDINFRA treats rolling, canary and blue/green deployments as architecture decisions. A minimal Kubernetes example shows a safe rolling update.
-
Continue reading →: DDD: Let the Aggregate Protect Your Business Rules
An aggregate is one consistency boundary with one entry point. Small Java example: an Order that never exceeds 10 items.
-
Continue reading →: Agentic Architecture: Keep the Agent Loop Small and Bounded
An agentic system is software where an LLM decides the next step in a loop: think, call a tool, read the result, repeat. In architecture terms, the agent is just a component that needs clear boundaries, like any other service. Give it a small set of explicit tools, because every…
-
Continue reading →: ADRs: Give Your AI Agent the Architecture Context
An AI coding agent only sees your code, not the reasons behind it. Architecture Decision Records (ADRs) close that gap in a few lines.
-
Continue reading →: Mein Führungsstil
„Meine Rede beim Toast Masters Club*: Unsicherheiten, Druck, schnelle Veränderungen und KI, Sparmassnahmen und Kündigungen. Diese Stichworte betreffen derzeit viele von uns in der Arbeitswelt. Was brauchen die Mitarbeiter heutzutage? Ganz genauer Anweisungen? In den heutigen Zeiten von KI, wo man sowieso viel Hilfe und Hinweise bekommt, finde ich die…
