Recap
In this chapter, we looked in detail at the process of writing a DDT and using it to drive our implementation. We implemented a new story so that we could add items to a list.
We also started using functional dependency injection for our persistence and compared it to the object-oriented approach.
Then we parsed and validated the HTML of the responses to assure that the HTTP layer was correctly working, while the domain-only DDT gave us assurance that we weren’t leaking any business logic outside our domain.
Finally, we improved our domain model, learning how to model our data in a functional way.
In the next chapter, we’ll look at how to let the user create a new to-do list. We’ll also make our acquaintance with events and recursion. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access