ciunkos.com/Glossary

Enterprise architecture

DDD (domain-driven design)

Designing software around the business’s own language and rules, with the code split where that language changes meaning.

Developers and domain experts agree on terms (the ubiquitous language) and the code uses the same words. The strategic part draws bounded contexts and maps how they talk to each other; the tactical part gives building blocks such as entities, value objects and aggregates. Most of the value is in the strategic part; teams that adopt only the building blocks often get extra layers and little else.

The term comes from Eric Evans’s 2003 book; his free DDD Reference summarizes every pattern, and Martin Fowler gives a short overview. The table below lists the DDD terms in this glossary: the strategic ones such as context map and core domain, and the tactical ones such as value object and domain event.

DDD building blocks in this glossary
TermPartIn one sentence
Bounded contextstrategicA border inside which each term has one meaning and one model.
Ubiquitous languagestrategicThe shared vocabulary used by experts and in the code.
Domain expertstrategicThe person whose knowledge the model captures.
Core domainstrategicThe part that sets the business apart; the rest is supporting or generic.
Context mapstrategicHow contexts relate: who is upstream, who translates.
Customer-suppliercontext mapUpstream plans with the downstream team’s needs.
Conformistcontext mapDownstream takes the upstream model as it is.
Anti-corruption layercontext mapDownstream translates the other model at one border.
Shared kernelcontext mapA small piece of model two teams own together.
Open host servicecontext mapOne documented protocol for all consumers.
Partnership and separate wayscontext mapRelease together, or do not integrate at all.
EntitytacticalAn object with an identity that survives changes.
Value objecttacticalAn immutable object defined only by its values.
AggregatetacticalA cluster of objects saved together to protect its rules.
Business invarianttacticalA rule that must always hold.
Domain eventtacticalA past-tense business fact others can react to.
Domain servicetacticalBusiness logic that belongs to no single entity.
RepositorytacticalA collection-like access to aggregates.
Event stormingpracticeA workshop that maps the domain as events on a wall.
Anemic domain modelanti-patternData-only objects with the rules in services.

Sources

Share: LinkedIn · X ·

Related terms

  • Bounded context: A part of a system where each business term has one meaning and one model, with explicit translation at its edges.
  • Ubiquitous language: One shared vocabulary for a domain, used the same way by experts, developers and the code itself.
  • Context map (DDD): A diagram of the bounded contexts in a system and the kind of relationship between each pair: who depends on whom and how models are translated.
  • Core domain (subdomains): The part of the business that sets it apart from competitors; supporting and generic subdomains are the rest, which can stay simple or be bought.
  • Aggregate (DDD): A cluster of objects changed as one unit, with a single root that enforces the business rules and marks the boundary of one transaction.
  • Entity (DDD): A domain object with its own identity that stays the same while its data changes, such as a patient, an order or a doctor’s profile.
  • Value object: A small immutable object defined only by its values, like money or a date range; two with the same values are the same thing.
  • Domain event: A fact the business cares about, named in the past tense (“visit booked”), that other parts of the system can react to without being called directly.
  • Anti-corruption layer (ACL): A translation layer between your model and a legacy or external system, so its data shapes and quirks do not leak into your code.
  • Event storming: A workshop where business and technical people map a process as a timeline of events on sticky notes to find rules, gaps and boundaries.

Linked from

← All terms

Free tools

Business idea validatorTen rubrics, a fixed-rule verdict and three cheap experiments. Free.Software cost estimatorYour project among 125 real products, with honest ranges.Engagement configuratorPick the work and its size, see hours, price and start date.SPF, DKIM and DMARC checkerGrade any domain’s email DNS, with records to paste.BIMI checkerRecord, DMARC, SVG Tiny PS logo and VMC or CMC, with an inbox preview.App store readiness checkWhat your web app lacks for the stores, TWA or Capacitor, files to copy.Build or buy calculatorSaaS against your own app over 1, 3 or 5 years, with the payback month.Runbook generatorA RUNBOOK.md for a system only you know, in two minutes, in your browser.SLA calculatorMonthly fee, response times, a downtime budget and contract clauses.Local model or API?Does the model fit your hardware, how fast, what it costs against an API.OpenAPI to MCP toolsPaste an OpenAPI spec, get narrow MCP tools and a server skeleton.KSeF invoice validatorCheck an FA(3) invoice against the official schema in your browser.Quoting time calculatorHours spent turning inquiries into quotes, and when an agent pays off.Multi-tenant SaaS calculatorWhich multi-tenant model, the work per release and the weeks to get there.Quote DeskDrop a customer inquiry, get lines matched to your price list. Free.AI Visibility DeskDoes Claude recommend your brand? Weekly runs of your buyers’ questions, free.List DeskClean an email list in your browser: dead domains, disposable, typos, duplicates.Eval DeskTest cases for your AI prompt, run after every change: what regressed, what got fixed.Dashboard DeskA growth dashboard created in your PostHog, plus what your tracking is missing.Signature DeskOne email signature template for the whole team, as HTML for Gmail, Outlook and Apple Mail.Phishing email checkerForward a suspicious email or upload the .eml file; three AI models and technical checks give a verdict.Email TestSend one email, check one-click unsubscribe, SPF, DKIM, DMARC and spam signals.Vitals DeskA daily lab check of your pages on a throttled phone: LCP, CLS and TBT, and an email when a page gets slower. Free.Legacy rewrite estimateLines of code to function points, hours and cost, with and without agents.

Want the fun version? The Corporate-speak Translator has a Polish dictionary of office phrases and what they really mean. Corporate-speak dictionary (Polish) →

Need this built, fixed or reviewed?

I build and rescue products with AI coding agents under rules: AI features in production, honest estimates, email that gets delivered.

Przemysław Zalewski

How I work

Przemysław Zalewski · 15+ years shipping software

“a true bias for action” client CTO, public LinkedIn recommendation

My pledge

All principles, the AI policy and working hours →

Pricing · Security · Privacy and analytics opt-out · Trust center