依赖注入、IoC和Mocking终于用简单易懂的方式解释了!
一周来我一直在用头撞墙试图理解这些概念。当我在 ASP.NET MVC NerdDinner 应用程序教程中发现对这些概念的非常易于理解且简单的解释时,我感到非常惊讶。我向所有努力获得“啊哈”时刻的人建议这个。
http://nerddinnerbook.s3.amazonaws.com/Part12.htm
太好了我没有任何问题,也不会(手指交叉)被埋葬,哈哈。
希望它对某人和对我一样有帮助。
I've been banging my head against the wall trying to understand these concepts for a week now. I was really surprised when I came across with a very understandable and simple explanations of these concepts in the ASP.NET MVC NerdDinner application tutorial. I suggest this to anyone struggling to have that 'aha' moment.
http://nerddinnerbook.s3.amazonaws.com/Part12.htm
It's so good that I don't have any questions and won't (fingers crossed) be buried, lol.
Hopefully it will be as helpful to someone as it was to me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现这个演讲对于理解依赖注入如何有益于测试非常有帮助:“The Clean Code Talks -- Unit测试”
I found this talk really helpful for understanding how dependency injection benefits testing: "The Clean Code Talks -- Unit Testing"