Consider how you could use injectable modules. I ...
# random
f
Consider how you could use injectable modules. I declare my entry-level IOC container, and provide it with the module implementations I desire. Each of these module implementations can be constructed as a hierarchy of bindings to specific implementation classes. This way, I can declare any number of useful module configurations / implementations, and all I have to do at the top-level is select which are appropriate. You can use that to build out different environments, different user interface drivers, different back-end data sources, etc, and all you'd need to change is those top-level modules being selected.