Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Domain Driven Design

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for Buzzvil Buzzvil
December 12, 2018
300

Domain Driven Design

Avatar for Buzzvil

Buzzvil

December 12, 2018
Tweet

Transcript

  1. UBIQUITOUS LANGUAGE • Model driven: Based on the Domain Model

    • Building up a common, rigorous language between developers and users • UML • Software doesn't cope well with ambiguity
  2. BOUNDED CONTEXT • Model gets bigger • Bound context •

    Domain & sub domain Domain Sub Domain Service Sub Domain Service Sub Domain Service
  3. • Product in Catalog domain • Product in Stock Management

    domain Product image, title, price product code, storage
  4. SERVICE • oo manger • significant process or transformation in

    the domain is not a responsibility of an ENTITY or VALUE OBJECT, add SERVICE • The interface is defined in terms of other elements in the domain model • Stateless
  5. AGGREGATE • Logical boundary for things that can change in

    a business transaction of a given context. • Reduce many to many relationship • Root: outside objects holds references to