There are 104 articles categorized as "Programming"

Current Vim setup for PHP development

on February 10, 2017. in Development, Programming. A 4 minute read.

I made some changes to my Vim setup for PHP development recently, so it’s time to write it all down. I’m more than sure that I’ll break it soon and won’t be able to remember all the things I did to have the current setup.

Things I learned in the past four years

on December 30, 2016. in Blablabla, Development, Programming. A 4 minute read.

Since yesterday was my last day on a project after four years and two months, I decided to take a look back on those four years and write down some of the things I learned.

Using Doctrine DBAL with Zend Expressive

on December 22, 2016. in Programming, Development, Software. A 2 minute read.

The Doctrine project comes with a database abstraction and access layer — Doctrine DBAL — which I prefer over other abstraction layers like Zend DB.

Events in a Zend Expressive application

on August 04, 2016. in Programming, Development. A 6 minute read.

Three weeks ago I wrote a post on how to utilize Tactician in a Zend Expressive application. Today I want to expand on that post a little by adding the possibility to trigger and listen to events using the Zend EventManager component.

Missing colors for PHPUnit

on July 20, 2016. in Programming, Software, Development. A 1 minute read.

I ran accross a minor issue today that I never experienced before. The colors for the PHPUnit’s output were missing. I had the colors=true directive set in the phpunit.xml configuration file, but the output was just black and white.

Continue reading Missing colors for PHPUnit...

I spent some time connecting the dots last week, so I decided to put together an example on how to get started with using Tactician in a Zend Expressive application. The example itself is not really useful, but it does show how to setup the dependencies and get started with these two libraries.

Lately I’ve been playing around with provisioning a PostgreSQL server with Ansible in a local Vagrant machine that runs a Fedora 23 image.

Helping juniors debug

on June 23, 2016. in Programming, Development. A 5 minute read.

These days I spend most of my time reviewing code. Lots and lots of code. It’s mostly written by juniors and some of it is good, some of it is bad. I try to be patient, to be a good mentor, to hopefully teach (and be taught), while not letting out of sight that the most important thing is that the code does the right thing in the right way. The business and the users come first, after all.

Continue reading Helping juniors debug...

Import custom Python modules in Vim plugins

on June 16, 2016. in Programming, Development. A 2 minute read.

This took me a while to figure out so I’m writing it down for future self and anyone else who needs it.

GitHub flavoured code fences in Hugo

on March 28, 2016. in Programming, Software, Development. A 1 minute read.

This was an undocumented feature until today, so I missed it when I was converting my site to Hugo last week. It is also possible to highlight code examples with GitHub flavoured code fences, or, in other words, with triple backticks ```.