
依赖注入:原则、实践与模式
Dependency Injection Principles, Practices, and Patterns
Mark Seemann、Steven van Deursen · 初版 2019 年
2人推荐
2位读者提及
2次提及
Hacker News 上怎么说
正在加载完整评论……

Dependency Injection Principles, Practices, and Patterns
Mark Seemann、Steven van Deursen · 初版 2019 年
正在加载完整评论……
Mark Seemann 写的《Dependency Injection Principles, Practices, and Patterns》。里面的示例是用 C# 写的,但对于广义上的 OOP 来说,这是一本极好的书。
Dependency Injection Principles, Practices, and Patterns by Mark Seemann. Examples are in C# but it's a great book about OOP in general.
……你用 SQL 在搞什么,但这些模式之间存在这么大的隔阂确实挺让人遗憾的。至于 DI,在 web 应用程序之外也绝对能大展身手。如果你好奇的话,我推荐《Dependency Injection: Principles, Practices, and Patterns》这本书。它涵盖了从 ASP.NET Core MVC 到 console apps 再到 GUI 的各种示例。
…what you’re doing with SQL but it’s definitely sad that there’s such a huge barrier between these modes. As for DI it can definitely be used fruitfully outside of a web application, I suggest the book Dependency Injection: Principles, Practices, and Patterns if you’re curious. It covers examples from ASP.NET Core MVC to console apps to GUI.