依赖注入(DI:Dependency Injection):容器将创建好的实例注入使用该实例的对象中。
控制反转(IoC:Inverse of Control):使用某实例的对象不再自己实例化,而是由容器来实例化。