我有兴趣了解 IoC 容器是如何随着时间的推移而演变的,因为控制反转容器被创造为它自己的一种表达方式,所以如果可能的话,我想追踪早期的容器。
最佳答案
来自 Stefano Mazzocchi 的“Origin of the Hollywood Principle”(2004 年 2 月 5 日):
...the Inversion of Control paradigm was coined at Xerox PARC where so many other things were invented.
(阅读整篇文章,短小精悍)。
Stefano 还指出了 this other article 中“控制反转”一词的起源。 (迈克尔·马特森,1996 年)
关于dependency-injection - 谁创造了 "Inversion of Control Container"这个术语,哪个公共(public)容器最先出现?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5022315/