January 2018
Beginner to intermediate
312 pages
7h 22m
English
In this chapter, we left our bounded context and clean domain and stepped into the messy world of infrastructure. We learned how to design serializable Data Transfer Objects to act as the intermediaries between the bounded contexts and the outside world, and we looked at a number of guidelines that can help you with your own implementations.
Serialization is one kind of interaction with the outside world, but it’s not the only one. In most applications we’ll need to talk to a database of some sort. In the next chapter, we’ll turn our attention to the techniques and challenges of persistence—how to make our domain model work with relational and NoSQL databases.
Read now
Unlock full access