Learn to record business facts from an Aggregate Root and process them with TypeScript handlers. An order case explores tests, idempotency, post-save failures, and when to incorporate a Transactional Outbox.
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 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.
Learn to distribute responsibilities across Presentation, Application, Domain, and Infrastructure. Follow a complete endpoint with TypeScript and Express, distinguish calls from dependencies, and use clear rules to review your code and AI-generated code.
Discover how a Domain Model guides code decisions and how it differs from a Data Model. Through TypeScript examples, learn to represent rules, recognize the responsibilities of DDD patterns, and give AI concrete criteria for implementing and reviewing changes.
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.
Learn to translate business rules into software with Domain-Driven Design. Explore its fundamental concepts through TypeScript examples and discover how to use them to guide and review AI-generated code, beyond whether it compiles or responds correctly to a request.