
Dependency Injection Principles, Practices, and Patterns
Mark Seemann, Steven van Deursen · 2019
Programming and computer science › Web architecture and microservices
#14,599 most recommended
Hacker News
2
mentions by 2 people · top 79% of 15,732 books
Open Library
—
No ratings yet
6 want to read
Wikipedia
—
No article yet
About the book
Dependency injection, a set of techniques for supplying an object's collaborators from outside the object so that code stays loosely coupled and testable. The examples are in C# and .NET, and the scope covers object-oriented design more broadly as well as the mechanics of wiring object graphs. The central claim is that dependency injection is mainly a matter of design principles, such as the Dependency Inversion Principle and explicit constructor-based dependencies, rather than of any particular container or framework. It presents pure DI, where a composition root assembles the object graph by hand, as a sound default, and treats DI containers as optional tools. It also argues against patterns such as Service Locator and ambient context, which hide dependencies and make code harder to maintain.
Written by Claude from what it knows of this book.
What Hacker News says 100% recommend · 0% critical
In the commenters’ own words
I believe the smart advice says don’t go code first if you already know what you’re doing with SQL but it’s definitely sad that there’s such a huge barrier…
Dependency Injection Principles, Practices, and Patterns by Mark Seemann. Examples are in C# but it's a great book about OOP in general.
What Open Library readers say
No Open Library reader has rated it yet.
- 6 want to read
- 1 reading
- 0 have read
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
Details
- First published
- 2019
- ISBN
- 9781638357100
- Editions known
- 4 at Open Library
- Open Library
- OL19541817W
Object-oriented programming (computer science)
Read next: its neighbours on the mosaic
Dependency injection in .NETMark Seemann · 2012 · recommended by 7 people · similar by subject and what people say about it
Object-Oriented Analysis and Design with ApplicationsGrady Booch · 1990 · recommended by 7 people · similar by subject and what people say about it
Design Patterns. Elements of Reusable Object-oriented SoftwareErich Gamma, Richard Helm, Ralph Johnson, John Vlissides · 1999 · recommended by 4 people · similar by subject and what people say about it
Applying Domain-Driven Design and PatternsJimmy Nilsson · 2006 · recommended by 2 people · similar by subject and what people say about it
Reliable software through composite designGlenford J. Myers · 1975 · recommended by 3 people · similar by subject and what people say about it
Object designRebecca Wirfs-Brock · 2002 · recommended by 1 person · similar by subject and what people say about it
Design by ContractBertrand Meyer · 2020 · recommended by 4 people · similar by subject and what people say about it
Pro JavaScript design patternsRoss Harmes · 2007 · recommended by 4 people · similar by subject and what people say about it
Pattern-oriented software architectureFrank Buschmann · 1996 · recommended by 6 people · similar by subject and what people say about it
Node. js Design PatternsMario Casciaro · 2014 · recommended by 2 people · similar by subject and what people say about it
Composite/structured designGlenford J. Myers · 1978 · recommended by 2 people · similar by subject and what people say about it
Implementation patternsKent Beck · 2007 · recommended by 6 people · similar by subject and what people say about it
Design PatternsErich Gamma · 1994 · recommended by 95 people · similar by subject and what people say about it
Data-oriented designMr Richard Fabian · 2018 · recommended by 12 people · similar by subject and what people say about it
Domain-Driven DesignEric Evans · 2003 · recommended by 104 people · similar by subject and what people say about it
Object-Oriented JavaScriptVed Antani · 2017 · recommended by 9 people · similar by subject and what people say about it
Object-oriented programmingPeter Coad · 1993 · recommended by 3 people · similar by subject and what people say about it
AntiPatternsWilliam J. Brown · 1998 · recommended by 4 people · similar by subject and what people say about it
Head First design patternsEric Freeman · 2004 · recommended by 65 people · similar by subject and what people say about it
Object-oriented reengineering patternsSerge Demeyer · 2002 · recommended by 2 people · similar by subject and what people say about it
Patterns of Enterprise Application ArchitectureMartin Fowler · 2002 · recommended by 34 people · similar by subject and what people say about it
The Principles of Object-Oriented JavaScriptNicholas C. Zakas · 2014 · recommended by 6 people · similar by subject and what people say about it
Practical Object-Oriented DesignSandi Metz · 2018 · recommended by 14 people · similar by subject and what people say about it
Object technologyTaylor, David A. · 1998 · recommended by 1 person · similar by subject and what people say about it