Chapter 5. Modularization of domain models

This chapter covers

  • Modularizing your domain models
  • Exploring a detailed case study of a domain model split into modules
  • Understanding how modules aggregate to bounded contexts
  • Using an advanced pattern of modularization, the free monads

Whenever you think of a large model, it’s always helpful to think in terms of smaller units within the whole. That’s how our cognitive abilities work as well. Instead of trying to understand up front how all the details of an entire banking system work, it’s easier to think about the smaller parts, such as customer account management, portfolio management, reporting services, and the back-office model. These are also fairly independent subsystems speaking different ...

Get Functional and Reactive Domain Modeling 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.