3 ms·
Application consists of components. One component need to talk to another. You either use some kind of global repository or IoC. Repository is easier to use wit
by vbezhenar 9y ago
Application consists of components. One component need to talk to another. You either use some kind of global repository or IoC. Repository is easier to use without framework, but with framework support IoC is as easy to use and provides better incapsulation, easier testing.