Christian Mayer's Weblog

2018 Year in Review []
For 2017 I missed the opportunity to create a review. So this is my review for 2018. This blog post includes Projects, which I founded, which I continued and notable events. Read More »

Docker Network []
How to get the host’s IP address inside Docker? Since I started with Docker I’m constantly searching for a way to get access to the host via the host’s IP address. In this blog post I describe a few ways to get access to the host. Read More »

Avoid Dynamic Data structures in PHP []
This blog post is an object-oriented approach to use Classes instead of build-in arrays. I’ll show you another view on why it’s better to use a Class/Object instead of an array. Read More »

Parameters []
I started a new open-source software project called Parameters. It’s written in modern C++. You can use Parameters to automatic replace variables in configuration file templates from environment variables. In this blog post I describe how to use Parameters to create a .env file for Symfony 4. Read More »

C++ Factory Class []
I’m about to re-write my Ruby Wallet project in C++17. This will be a series of posts. Read More »

C++ Smart Pointers []
It’s been awhile since my last blog post. It’s also been awhile since I last programmed C++. But recently I’m doing C++ again. This blog post is what I learned so far about Smart Pointers and Raw Pointers. Read More »

How My Work Directory is Organized []
It took me many years to figure out how to effective organize the directory structure on my harddisk. Even after decades in the IT industrie most people use their desktop (~/Desktop) as a temporary directory. Why not using ~/tmp? Read More »

PHP Annotations []
Recently I found myself with a task to update an outdated documentation. At first I wanted to do it manually, but then I asked myself, why don’t generating this documentation automatically? As a programmer I have to automate everything. It just needs the right approach to do it. Read More »

Code Refactoring []
What’s the main challenge when refactoring or adding new features to a software project? You need to know what the dependencies are doing. You need to know what the code you change is doing. At least to know, roughly, which part does what. To avoid side-effects. Read More »

First Week []
My first week without smartphone has past. This is a review. Read More »

See a list of all blog posts in the Archive.