Part 2. DI catalog
Part 1 provided an overview of DI, discussing the purpose and benefits of DI and explaining how DI Containers fit into the overall picture. Even though chapter 2 contained an extensive example, I’m sure the first chapters still left you with some unresolved questions. In part 2, we dig a little deeper to answer some of those questions.
As the title of part 2 implies, this is a catalog of patterns, anti-patterns, and refactorings. Some people dislike design patterns because they find them dry or too abstract. Personally, I love patterns because they provide us with a high-level language that makes us more efficient and concise when we discuss software design. It’s my intent to use this catalog to provide a pattern language for ...
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