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 ...