PHPnews.io

Overview for 'matthiasnoback'


A simple recipe for framework decoupling

Written by Matthias Noback / Original link on Sep. 9, 2020

If you want to write applications that are maintainable in the long run, you have to decouple from your framework, ORM, HTTP client, etc. because your application will outlive all of them. Three simple rules To accomplish framework decoupling you only have to follow these simple rules: All services…


Violating the Dependency rule

Written by Matthias Noback / Original link on Sep. 7, 2020

I write about design rules a lot, but I sometimes forget to: Mention that these rules can't always be applied, Describe when that would be the case, and Add examples of situations where the rule really doesn't matter. The rules should work in most cases, but sometimes need to be "violated". Which…



Free book chapter: Key design patterns

Written by Matthias Noback / Original link on Jul. 22, 2020

I wanted to share with you a free chapter from my latest book, "Advanced Web Application Architecture". I've picked Chapter 11, which gives a compact overview of all the design patterns that are useful for structuring your web application in a way that will (almost) automatically make it independen…