IoC,AOP等 [英] IoC, AOP and more

查看:132
本文介绍了IoC,AOP等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



什么是IoC / DI框架?



为什么我们需要IoC / DI的框架?



IoC / DI和AOP之间是否有任何关系?



什么是关于IoC和AOP的Spring.net/niject?

解决方案

JMSA



James Kovacs写了一篇精彩的文章,其中涵盖了许多您的问题,我建议您阅读它这里



Spring.Net,Ninject,Unity,Castle Windsor,Autofac都是可以以不同方式配置的IOC容器,其中许多还支持AOP。



框架为IOC / DI是有用的,因为它们提供了标准的机制,例如,如果你正在招聘一个新的开发人员更容易说,我们使用此框架并将其传递给教程/帮助指南。同时,这些框架由大型社区/公司进行了试用和测试。



如果您的任何问题在阅读文章之后仍然没有得到回覆,请告诉我们我会尽力提供进一步的帮助。


What is an IoC container?

What is an IoC/DI framework?

Why do we need a framework for IoC/DI?

Is there any relationship between IoC/DI and AOP?

What is Spring.net/ninject with respect to IoC and AOP?

解决方案

JMSA,

James Kovacs wrote a fantastic article which covers many of your questions I would recommend reading it Here

Spring.Net, Ninject, Unity, Castle Windsor, Autofac are all IOC containers which are configurable in different ways, many of them do also support AOP.

Frameworks for IOC/DI are useful because they provide standard mechanisms, for example if you are hiring a new developer it is much easier to say, we use this framework and pass them the links to the tutorials / help guide. At the same time these frameworks are tried and tested by a large community / companies.

Let me know if any of your questions remain unanswered after reading the article and the above answes and I'll do my best to provide further assistance.

这篇关于IoC,AOP等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆