Posted on Sep9th2020 by Matthias Noback If you want to write applications that are maintainable in the long run, you have to decouple from your framework, ORM, HTTP client, etc.
To accomplish framework decoupling you only have to follow these simple rules: Following rule 1 ensures that you'll never fetch a service ad hoc, e.g.
This is needed for framework decoupling because the global static facility that returns the service for you is by definition framework-specific.