Domain-Driven Design

Domain-Driven Design is an approach to software development, and contains a number of tactical patterns which we can use in projects with lots of business logic complexity.

Here's how it works:

  • Discover the domain model by interacting with domain experts and agreeing upon a common language to refer to processes, actors and any other important phenomenon (like events and side-effects to events) that occur in your problem domain.
  • Take those newly discovered terms and embed them in the code, creating a rich domain model that reflects the actual living, breathing business and its rules.

Howdy 👋

This is an online wiki and book about the basics of software design and architecture with TypeScript by Khalil Stemmler, Developer Advocate @ Apollo GraphQL .

This book’s mission is to teach developers the essential skills and practices to write testable, flexible, and maintainable code.

You can read more about the learning journey in the "Software Design and Architecture Roadmap 🖼️".

Already bought it?

If you’ve already purchased the book, click here to re-send your link. You can read the online wiki or download a copy of the book in PDF, EPUB, and Kindle versions.

Want access?

You can read the intro to the book for free and visit to buy the book/wiki (it's currently on pre-sale for 33% off)! For recent updates, click here. To get an idea of my writing, read some of my best free content here and here.

Need help?

Something not working? Have a question? You can reach me on Twitter or