The Runtime Theory
Software ArchitectureIn production

Domain-Driven Design Basics

Recording in progress
#ddd#domain-driven-design#modeling

DDD is a set of modeling tools for the hardest part of software: deciding what the domain is and where boundaries between concepts live. This video distills the essential ideas — the ubiquitous language shared with domain experts, bounded contexts as hard boundaries, and aggregates as consistency units — and shows how they translate into code structure.

Topics covered:

  • The ubiquitous language: one vocabulary for code, meetings, and docs
  • Bounded contexts: why "Order" means different things in sales and shipping
  • Context mapping: integrating contexts through translation layers
  • Entities vs. value objects: identity matters or it doesn't
  • Aggregates: the consistency boundary and the aggregate root as its gatekeeper
  • Domain events: facts the domain emits that other contexts consume
  • Repositories and application services: where persistence and use cases live
  • How much DDD you need: tactical patterns for one team, strategic for many

Related articles

More in Software Architecture

In production
software architecture

The Strangler Fig Pattern

How to replace a legacy system without a rewrite — routing by path, strangling features incrementally, and keeping both systems honest.

Details
In production
software architecture

Service Mesh Explained

What a service mesh actually does — sidecars, mTLS, traffic routing, and observability — and the network plumbing it takes off your plate.

Details
In production
software architecture

Feature Flags in Practice

How feature flags work end to end — evaluation at runtime, kill switches, and canary rollouts — plus the operational discipline they demand.

Details
In production
software architecture

The Saga Pattern Explained

How distributed transactions work without distributed locks — saga steps, compensating actions, and the orchestration vs. choreography split.

Details
In production
software architecture

CQRS Explained

Command query responsibility segregation — separate read and write models, why they diverge, and what you actually gain from the split.

Details
In production
software architecture

API Gateway Patterns

What an API gateway actually does — routing, auth, rate limiting, and aggregation — and which patterns matter for your traffic.

Details
In production
software architecture

Hexagonal Architecture, Visualized

Ports and adapters in one diagram — how hexagonal architecture keeps business logic independent of databases, HTTP, and everything external.

Details
In production
software architecture

Event-Driven Architecture Explained

How event-driven systems work — events, topics, and consumers — and what the broker actually guarantees in a distributed system.

Details
In production
software architecture

Microservices vs. Monolith

The honest engineering comparison — deployment boundaries, data ownership, failure domains, and the real costs of splitting a system.

Details

Depth, delivered weekly

One technical dispatch a week — articles and episode notes before they go public.

One technical dispatch per week. No noise.