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.

Copyright © 2011-2020 - Matthias Noback - Powered by Sculpin and Bootswatch - Privacy policy
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners