3 Core concepts of Domain-Driven Design

This chapter covers

  • The parts of Domain-Driven Design (DDD) most important for security
  • Models as strict simplifications of the domain
  • Value objects, entities, and aggregates
  • Domain models as ubiquitous language
  • Bounded contexts and semantic boundaries

During the years that we’ve been developing software, we’ve found inspiration from many sources—some different, some shared. One of the biggest sources of inspiration we have in common is Domain-Driven Design, often abbreviated as DDD.

DDD sets the bar a little higher in regards to most system development. We’ve seen a lot of system development where the attitude “just make it work” has been the guiding principle. When a bug was found, the solution was ...

Get Secure by Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.