Blog

Thoughts, tech notes, in-depth articles and walkthroughs.

May 14, 2016 3 mins read
Engineering

Deploying PHP Applications with Deployer

Deployer is a deployment tool written in PHP to be used by PHP applications. Deployer ships with out-of-the-box support for various popular PHP frameworks, including Symfony. For a recent project of mine I needed to execute database migrations during deployment, and hence a simple rsync deployment was not enough. That’s where Deployer kicks in.

Getting Started

Add Deployer to your project with composer require deployer/deployer and then unleash the beast with php vendor/bin/dep, which starts the deployment pipeline. To configure the deployment pipeline, you’ll need to create a deploy.php file in the root directory of your project along the lines of:

Read more
April 11, 2016 5 mins read
Architecture

Changeability in Software Architectures

One common theme popping up in projects is that change is the only constant. Code changes, architecture changes, technology changes, requirements change and people change. But often, change comes at a high cost. Things were just not prepared for change because doing so would have imposed the costs earlier on. But really the same costs? To reduce costs in the long run, wouldn’t it be beneficial to spend some effort in changeability upfront? Of course, but it is difficult to find the sweet spot between spending enough and too much effort to properly implement changeability.

Read more
March 16, 2016 3 mins read
Engineering Cloud

CloudFlare Integration

Recently, a friend of mine suggested to check out CloudFlare, a service to protect and accelerate websites. The most awesome part is: there is a free plan, which is quite supercharged! Have a look at the features overview to see what’s already part of the free plan. Definitely enough for me to set it up. This blog post documents the three simple steps I took, so you can see how easy it actually is.

Read more
February 10, 2016 6 mins read
Engineering

Mastering CSS

If you are like most programmers, you don’t think of CSS as a programming language. It’s a description language, it describes the look of elements on a website. While developing your next super-cool web application you describe the visuals using CSS and it feels like you are writing a book instead of an application, losing sight of all the CSS as you keep developing.

If you have already written CSS you most probably have…

Read more