Skip to content
cavalle edited this page Feb 24, 2013 · 37 revisions

#big-models

Topics

Patterns

Taxonomies

Who calls the domain object?

  • The Controller
  • Other domain objects (composition, dependency)

Types of domain objects

  • Entities

    • Static / Stateful
    • Real world concept / Problem realm
    • e.g. User, Company, Project
  • Roles

    • Dynamic / Stateless
    • Real world concept / Problem realm
    • e.g. Commenter, SourceAccount
  • Behaviour

    • Dynamic / Stateless
    • Abstract concept / Solution realm
    • e.g. Query, Policy, Form, Command, UseCase, Logger, Publisher

What technique is used?

  • Decoration (e.g. Presenters)
  • Composition (e.g. has_one Objects, PORO models)
  • Dependency (e.g. Services)
  • Extension (dynamic or static) (e.g. DCI Roles or Concerns)

What represents the service object?

Clone this wiki locally