4 ms·
A framework calls your code, but in practice the term is loaded with a set of independent characteristics, such as it being the frame of your entire application
by BulgarianIdiot 5y ago
A framework calls your code, but in practice the term is loaded with a set of independent characteristics, such as it being the frame of your entire application, not just an aspect of it (libraries can also "call you" in some cases, no one forbids a library from taking in a callback function or an object).
And with that, frameworks often become their own universe, where external components need to be "integrated" with the framework in order to enable using them pragmatically at all. So you either rely on the framework for everything, or you go looking for plugins for the framework, or if you need functionality outside it, it has to be integrated.
Inversion of control is a great principle when used with care. In the hands of amateurs, it's used to just replicate the unit version of a "god object", where your entire application becomes a unit defined by the framework.
- garethrowlands 5y agoYou don't need a framework of any kind to do inversion of control though.
- BulgarianIdiot 5y agoI didn't claim otherwise.