Dependency Injection with Auryn

Dependency Inversion is Hard One of the hardest things to do properly when following SOLID principles is Dependency Inversion. I struggled to understand and implement this concept for years. Often I wondered if it was really worth the trouble to write all of that extra configuration just to simplify testing.…

A simple REST application with Spark

What is Spark? Spark is a PSR-7 micro-framework that implements the Action Domain Responder pattern created by @pmjones. ADR can be summarized as a "clean code" version of MVC, with specific differences that help us achieve SOLID principles. Install Spark This assumes that you already have Composer installed. $ composer create-project…