Porting Silex to Slim, Round 2

Several months ago, I blogged about porting Silex web apps to the Slim Framework. I recently went through the same process for a slightly more complex site (NAMR.xyz). This exposed a few areas that were missed in the previous post.

Functional test cases, service providers, and error handlers are among the things that Slim does differently than Silex. Here's my approach for moving things over.

Read more of this post »

January 27, 2019

Tags: coding, dev, development, howto, legacy, php, projects, silex, slim, maintenance


Testing under OS X with Travis CI

In preparation for the release of Sculpin 3 (the upcoming version of the static site generator that runs this blog and many others), I recently spent some time exploring how to tests for PHP projects on non-Linux operating systems using TravisCI.

I realized while working on the upcoming release that I was always running the app under OS X but the CI tests were always running under Linux. This was not ideal for a tool that was intended to run on any OS.

Read more of this post »

December 10, 2018

Tags: dev, development, coding, php, howto, sculpin, testing


Hobby Project 13

A few weeks ago, I was having a conversation with Chris Hartjes (aka The Grumpy Programmer) about unfinished hobby projects. His advice got me thinking about how many projects I've got "on the go", and how they often go completely forgotten for months at a time.

I wrote a list of all the ones I can remember. I even included some ones that I "cancelled" or closed down, because I still sometimes think about bringing them back.

When I was finished, the list had 27 items.

This post is about Hobby Project 13. And there's video.

Read more of this post »

September 13, 2018

Tags: dev, development, coding, php, fun, projects