Better Commits with Static Review

One of the best changes that I have recently ever made to my workflow has been reading Chris Beams' excellent How to Write a Git Commit Message. If you haven't read it, you should go do it right now and come back once you are done. The Problem You're programming…

Configuration in Spark

Building on my last post about dependency injection I thought it would useful to talk configuring Auryn within the context of Spark. Basic Configuration The default configuration of Spark is in web/index.php. If you were to add configuration for PDO the easiest thing to do would be: $injector…

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…