DDD — Notes from the big blue book. Part 6

Chapter 11 — Applying Analysis Patterns

  • Have to make calculated compromises to the design to allow for good implementation
  • Parts of the program we don’t suspect can benefit from a domain model — they can be uncovered with analysis patters
  • Example in this chapter was the nightly script that was run
  • Analysis patterns are more guiding than prescriptive

Chapter 12 — Relating Design Patterns to the Model

  • Design patterns can be applied to domain models by thinking about them in a different way — from a domain logic perspective
  • When applying a design pattern in the domain, first check whether it is a good fit for the domain concept
  • Example used in this chapter was the composite pattern with nodes representing shipment routes