Cairngorm Architecture: Domain Layer

An abstraction of a real-world problem domain and is there to serve the UI with a representation of the real world.

Responsilbities

  • Validation
  • Computations around the problem domain
  • Filtering (additional filtered collections enrich the Domain Model)
  • Sorting (can also be Presentation Layer responsibility)
  • Formatting (can also be a Presentation Layer responsibility)