Chapter 6. Preparing for Infrastructure
It’s time to continue the exploration of applying DDD to our problem domain. There is no specific next step, but you may be wondering when I will start dealing with the infrastructure. For instance, we haven’t yet made it possible to persist or depersist (materialize or reconstitute) the orders to or from a database. As a matter of fact, we haven’t even thought about, let alone decided on, using a database.
This is intentional. We want to delay making this decision a bit longer, at least if we are feeling safe and familiar with existing infrastructural options. If this is our first DDD-ish project, this might not be the case, of course, but let’s pretend.
The reason I want to delay the binding to a relational ...
Get Applying Domain-Driven Design and Patterns: With Examples in C# and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.