Is the supplier model an IOC implementation?

Is the provider model an IOC implementation? If not, why not?

(reading an article on ioc martins)

+3
source share
3 answers

In my opinion, yes, the provider template is a form of control inversion.

What is my reasoning?

In it, the IoC core is a very general concept, so much so that Martin Fowler talks about reading user input from the command line as an IoC form .

, , . , Memberhip.GetUser, , , .

, " ", , IoC (, ). , - IoC (, ).

+7

Spring BeanFactory , ApplicationContext. , Guice.

0
0

Source: https://habr.com/ru/post/1703921/


All Articles