《.NET 中的依赖注入》封面

.NET 中的依赖注入

Dependency injection in .NET

Mark Seemann · 初版 2012 年

7人推荐
9位读者提及
11次提及

Hacker News 上怎么说

  • 好处在于,只要你能在 composition root(也就是应用程序刚启动的最开始)把东西耦合起来。这样一来,就有一个方便统一的地方来进行耦合。去读读 Mark Seemann 的《Dependency injection in .Net》吧。想彻底搞懂 DI 到底是个什么鬼、有什么好处,这本书是最好的资源。

    advantage is when you manage to couple things at composition root (which is the very beginning of your application). that way there is one convenient place where coupling takes place. read "Dependency injection in .Net" by Mark Seemann. it's the best resource to understand wtf DI is all about and what are benefits.

  • Mark Seemann 的《Dependency Injection in .NET》:http://www.amazon.com/gp/product/1935182501

    Dependency Injection in .NET by Mark Seemann: http://www.amazon.com/gp/product/1935182501

  • ……作者发起它的。交代下背景,当我最初知道 Mark Seemann 的时候,他还非常深陷于面向对象的那套做法里。我发现他是因为他是(极为出色的)《Dependency Injection in .NET》的作者。写完那本书一段时间后,他开始接触 F#,最终搞起了 Haskell,并一直在博客上记录这些历程。结果就是,他的博客归档如今讲述了一个引人入胜的演变故事……

    …author started it. For context, when I first became aware of the Mark Seemann, he was very deep into the object-oriented way of doing things. I discovered him because he was the author of (the excellent) Dependency Injection in .NET. A while after writing that book, he started getting into F#, and eventually Haskell, and blogged about it all the while. The upshot being, his blog archive now tells a fascinating story of the evolution…

  • Mark Seemann 的《Dependency Injection in .NET》是一个契机,让我从一个只会用 OO 语言写“面条脚本”的人,转变成了真正能把一组概念性流程拆解为……的人。

    Dependency Injection in .NET by Mark Seemann was the trigger that started my transition from someone basically writing "script spaghetti" in an OO language to someone that could actually decompose a conceptual set of processes into…

  • 我强烈推荐 Mark Seemann 的《Dependency Injection in .NET》,不管你是不是 .NET 开发者(只要懂基础的 OOP,C# 语法通常很容易上手)。说实话,它之所以叫“... in .NET”主要只是因为……

    I strongly suggest "Dependency Injection in .NET" by Mark Seemann, regardless of whether or not you're a .NET dev (if you understand basic OOP, C# syntax is generally pretty easy to pick up on). Really the main reason it's "... in .NET" is because…

  • 主贴文章的作者 Mark Seemann 写过一本广受好评的书《Dependency Injection in .NET》,后来慢慢转向了 F# 和 Haskell。他经常结合 OO 替代方案提出许多关于函数式编程(FP)的视角,让人更容易体会到 FP 的优势,不仅是在理论上,而且在……

    Mark Seemann, TFA's autor wrote a highly praised book Dependency Injection in.NET and then slowly gravitated towards F# and Haskell. He presents lot of perspectives on FP often in the context of OO alternatives making it easier to appreciate FP advantages not just in theory, but in…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助