Code, Design and Quality
are glorious when in harmony
-
For an interpreter it doesn’t matter how much whitespace there is in an XML document and often you find that machines strip it all out to reduce the amount of bandwidth used. Often at the receiving end you want to…
-
SSH Tunneling across multiple hosts in Linux
Sometimes you need to communicate with a server (or other device) that is not directly accessible from your own computer. If you can reach this server via another server this is not an issue and can be solved by setting…
-
Pre-commit hook in Git: Running PHPUnit
Pre-commit hooks in git are one of those things you hardly think about but can help you automate tasks and do last-minute checks. A good example of this is running unit tests before commits, to make sure nothing broke; or…
-
Multiple types of opening braces when matching pairs with the tokenizer/ext
Whilst I was testing DocBlox on the Solar Framework I found a bug in the part of the application where I match the curly brace pairs of structures (like classes, functions, methods, etc). Every time a variable was imported in a…
-
Introducing: DocBlox
Ever since I discovered phpDocumentor I have been fascinated by the idea of automatic Documentation Generation. Especially for large projects where an in-depth understanding of the code is a requirement. Unfortunately, the more I got to work with phpDocumentor the…
-
Human readable memory usage in Linux per process
I like to tune my VPS to use as little memory as possible. Not because I really want to; but because I just don’t have the money to spend on a 2+ GB RAM VPS and I would like to…
-
Updated the design of this blog
After less than 2 years I have finished my new WordPress template for this blog. The previous theme was clunky and lacked many of the features that WordPress has to offer. I hope to address these issues and enhance this…
-
phpStorm, a true delight to work with
During my career as a PHP developer (hobbyist and professional) I have tried a multitude of IDEs and tools to write code in. Every IDE I have found thus far did great things but had their downsides. It is with…
-
pman, a unix command line PHP Manual
Yesterday I read a blog post by Hannes Magnusson titled Unix Manual pages for PHP functions. Unknowingly had Hannes done me a great favor by posting the exact instruction on installing pman, a commandline tool which acts as the unix…
-
The year of change
Photo is copyright of David Reece I usually do not make new year’s resolutions, but this year is going to be different. This year will be the year of change! In the past year I have done and experienced a…