Learn when to use a constructor, static method, or dedicated Factory to create complete domain objects. Build an order from a quote in TypeScript, check its invariants, and distinguish new creation from reconstituting persisted state.
Design an Order Aggregate with a root that controls its lines and protects shared rules. With TypeScript and executable tests, learn to choose consistency boundaries, avoid partial changes, and distinguish model guarantees from those requiring transactional persistence.
Learn to define Modules from business responsibilities, offer public interfaces, and control their dependencies. With an executable TypeScript example, distinguish a module from a folder, layer, or Bounded Context and establish useful boundaries for working with AI.
Learn to recognize an operation that needs a Domain Service and distinguish it from coordination and technical integrations. Design shipping selection in TypeScript, preserve Entities' own rules, and verify your decisions with tests and criteria for reviewing AI-generated code.
Learn to represent concepts with Value Objects that validate their data, compare by value, and offer immutable operations. Implement Money, Email, and Address in TypeScript, use them within an Entity, and discover what to check when reviewing AI-generated code.
Learn to recognize an Entity by its identity and protect its evolution through business operations. Implement a complete TypeScript example, distinguish identity equality from reference equality, and use tests to review both your model and AI-generated code.
Build a shared language that enables decisions. We will explore reservations, logistics, and education to detect ambiguities, write precise examples, and evolve names, contracts, and tests with AI assistance.