GO-V.ORG
As seen in

Domain-driven design

Domain-driven design (DDD) is a software design approach that focuses on modeling software to match a domain according to input from that domain's experts.[src] DDD is against the idea of having a single unified model; instead it divides a large system into bounded contexts, each of which have their own model.[src] Under domain-driven design, the structure and language of software code (class names, class methods, class variables) should match the business domain.[src] For example: if software processes loan applications, it might have classes like "loan application", "customers", and methods such as "accept offer" and "withdraw".[src] Domain-driven design is predicated on the following goals: * placing the project's primary focus on the core domain and domain logic layer; * basing complex designs on a model of the domain; * initiating a creative collaboration between technical and domain experts to iteratively refine a conceptual model that addresses particular domain problems.[src] Critics of domain-driven design argue that developers must typically implement a great deal of isolation and encapsulation to maintain the model as a pure and helpful construct.[src] While domain-driven design provides benefits such as maintainability, Microsoft recommends it only for complex domains where the model provides clear benefits in formulating a common understanding of the domain.…[src]

Domain-driven design (DDD) is a software design approach that focuses on modeling software to match a domain according to input from that domain's experts.[src] DDD is against the idea of having a single unified model; instead it divides a large system into bounded contexts, each of which have their own model.[src] Under domain-driven design, the structure and language of software code (class names, class methods, class variables) should match the business domain.[src] For example: if software processes loan applications, it might have classes like "loan application", "customers", and methods such as "accept offer" and "withdraw".[src] Domain-driven design is predicated on the following goals: placing the project's primary focus on the core domain and domain logic layer; basing complex designs on a model of the domain; initiating a creative collaboration between technical and domain experts to iteratively refine a conceptual model that addresses particular domain problems.[src] Critics of domain-driven design argue that developers must typically implement a great deal of isolation and encapsulation to maintain the model as a pure and helpful construct.[src] While domain-driven design provides benefits such as maintainability, Microsoft recommends it only for complex domains where the model provides clear benefits in formulating a common understanding of the domain.[src] The term was coined by Eric Evans in his book of the same name published in 2003.[src] ==Overview== Domain-driven design articulates a number of high-level concepts and practices.[src] Of primary importance is a domain of the software, the subject area to which the user applies a program.[src] Software's developers build a domain model: a system of abstractions that describes selected aspects of a domain and can be used to solve problems related to that domain.[src] These aspects of domain-driven design aim to foster a common language shared by domain experts, users, and developers—the ubiquitous language.[src] The ubiquitous language is used in the domain model and for describing system requirements.[src] Ubiquitous language is one of the pillars of DDD together with strategic design and tactical design.[src] In domain-driven design, the domain layer is one of the common layers in an object-oriented multilayered architecture.[src] ==Event types== There are different types of events in DDD, and opinions on their classification may vary.[src] According to Yan Cui, there are two key categories of events: ==Context Mapping patterns== Context Mapping identifies and defines the boundaries of different domains or subdomains within a larger system.[src] It helps visualize how these contexts interact and relate to each other.[src] Below are some patterns, according to Eric Evans: Partnership: "forge a partnership between the teams in charge of the two contexts.[src] Institute a process for coordinated planning of development and joint management of integration", when "teams in two contexts will succeed or fail together" Shared Kernel: "Designate with an explicit boundary some subset of the domain model that the teams agree to share.[src] Keep this kernel small." Customer/Supplier Development: "Establish a clear customer/supplier relationship between the two teams", when "two teams are in [a] upstream-downstream relationship" Conformist: "Eliminate the complexity of translation [...] choosing conformity enormously simplifies integration", when a custom interface for a downstream subsystem isn't likely to happen Anticorruption Layer: "create an isolating layer to provide your system with functionality of the upstream system in terms of your own domain model" Open-host Service: "a protocol that gives access to your subsystem as a set of services", in case it's necessary to integrate one subsystem with many others, making custom translations between subsystems infeasible Published Language: "a well-‐documented shared language that can express the necessary domain information as a common medium of communication", e.g.[src] data interchange standards in various industries Separate Ways: "a bounded context [with] no connection to the others at all, allowing developers to find simple, specialized solutions within this small scope" Big Ball of Mud: "a boundary around the entire mess" when there are no real boundaries to be found when surveying an existing system ==Relationship to other ideas== Although domain-driven design is not inherently tied to object-oriented approaches, in practice, it exploits the advantages of such techniques.[src] These include entities/aggregate roots as receivers of commands/method invocations, the encapsulation of state within foremost aggregate roots, and on a higher architectural level, bounded contexts.[src] As a result, domain-driven design is often associated with Plain Old Java Objects and Plain Old CLR Objects, which are technical implementation details, specific to Java and the .NET Framework respectively.[src] These terms reflect a growing view that domain objects should be defined purely by the business behavior of the domain, rather than by a more specific technology framework.[src] Similarly, the naked objects pattern holds that the user interface can simply be a reflection of a good enough domain model.[src] Requiring the user interface to be a direct reflection of the domain model will force the design of a better domain model.[src] Domain-driven design has influenced other approaches to software development.[src] Domain-specific modeling, for instance, is domain-driven design applied with domain-specific languages.[src] Domain-driven design does not specifically require the use of a domain-specific language, though it could be used to help define a domain-specific language and support domain-specific multimodeling.[src] In turn, aspect-oriented programming makes it easy to factor out technical concerns (such as security, transaction management, logging) from a domain model, letting them focus purely on the business logic.[src] ==See also== Data mesh, a domain-oriented data architecture Event storming Knowledge representation Ontology (information science) Semantic analysis (knowledge representation) Semantic networks Semantics C4 model Strongly typed identifier Integrated design Systems science ==References== ==External links== DDD Crew on GitHub: Bounded Context Canvas, Aggregate Canvas, Modeling Process and more repositories Implementing Aggregate root in C# language Context Mapper: A Modeling Framework for Strategic Domain-driven Design (Tool, Tutorials, DDD Modeling Examples) Strategic DDC Activity in Design Practice Repository (DPR) and Tactic DDC Activity in Design Practice Repository (DPR)[src]

39 sentences · 39 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Domain-driven design." encyclopegia.org, 2026, https://encyclopegia.org/wiki/domain-driven-design. Accessed 06 December 2026.

Chicago

"Domain-driven design." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/domain-driven-design.

APA

encyclopegia.org. (2026). Domain-driven design. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/domain-driven-design

Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
publication date2003Wikipedia

Related articles

public domain

stub · references available

Kharkiv College of Textile and Design

stub · references available

fashion design

stub · references available

domain name transfer

stub · references available

domain name

stub · references available

Rhode Island School of Design

stub · references available

.au Domain Administration

stub · references available

Golden Calf for Best Production Design

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1377133553 · 0.5 · snapshot enwiki-001377133553

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.