Blog (6 of 15)
-
Coding in Katas
In almost any kind of sports you hone your skills by repeating a small piece of practice over and over again. Pretty much the same works for learning to play a musical instrument. The idea of Code Katas applies this simple but effective method of exercise to the world of programming.
Monday, 18 February 2013Read more ➞ -
Code Review Tool
We, at Qafoo, do Code Reviews quite often together with our customers. This often focusses on dicussing metrics, browsing the associated code and discussing solutions for the issues found. We started using a bunch of shell scripts for that, like everyone else, but at some point we came up with a webinterface to do this in a more comfortable way. Now we want to share this tool with you.
Monday, 5 November 2012Read more ➞ -
Abstract Classes vs. Interfaces
Features of object oriented languages are often use from a purely technical perspective, without respect to their actual semantics. This is fine as long as it works for you, but might lead to problems in the long run. In this article I discuss the semantical differences between abstract classes and interfaces. I also outline why following the semantics of those language constructs can lead to better code.
Tuesday, 2 October 2012Read more ➞ -
Zeta Components retired from Apache
The Zeta Components project retired from Apache and is now available on Github. All components are now installable via Composer. Read more for details…
Tuesday, 29 May 2012Read more ➞ -
PHP Subconference at FrOSCon 2012
This years FrOSCon - one of the most awesome open source software conferences - is right ahead and we are organizing a PHP ubconference gain this year. Read more for details.
Monday, 7 May 2012Read more ➞ -
Object lifecycle control
From time to time I trip over APIs, which do not allow me to control the object lifecycle of the used objects myself. Let me discuss why this is a bad thing…
Tuesday, 5 April 2011Read more ➞ -
Generating XML schemas from XML data
Already some time ago I published a tool on Github which allows you to generate (or learn) XML schemas from XML data. You provide the tool with a set of XML files and you get a nice, human readable, XML schema (XSD, DTD, …) from that. Read more for the details.
Tuesday, 29 March 2011Read more ➞ -
static considered harmful
This is a provoking title, but, in my honest opinion, a very valid rule of thumb. During the last years of teaching other developers, developing PHP libraries and applications and doing quality assurance on other peoples software I came to this rather abrasive conclusion - let me tell you why…
Wednesday, 2 March 2011Read more ➞ -
Struct classes in PHP
PHP arrays are a wonderful tool and one of the reasons I like PHP. Their versatility makes it possible to easily set up proof of concepts (POC), either used as hash maps storing multiple keys, or as lists, stacks, trees or whatever you like. But once you are past the phase of the initial POC, the excessive usage of arrays and exactly their versatility has some drawbacks: If you see an array type hint or return documentation, you know nearly nothing about the data structure. Using arrays as key-value hash maps for storing configuration keys or data sets you also know nearly nothing about the expected contents of the array.
Monday, 24 January 2011Read more ➞ -
Testing file uploads with PHP
A question I am asked on a regular basis is, how you can test a file upload with PHP. In this blog post, I take a precise look at this topic and show you how to test your file uploads from within your standard testing environment, using widely unknown testing framework for PHP.
Thursday, 9 December 2010Read more ➞ -
PHP @ FrOSCon 2010
This years FrOSCon - one of the most awesome open source software conferences - is right ahead and we are organizing a PHP track again this year. Read more for details.
Tuesday, 3 August 2010Read more ➞ -
Testing legacy code
Today we know about the benefits of Test Driven Development and normally also start new projects using TDD. Most projects from the last couple of years integrated this method in their daily development process, which often results in in good code coverage results of 90% and above. But what about all the other old projects, you still manage in your daily work?
Friday, 30 July 2010Read more ➞
Subscribe to updates
There are multiple ways to stay updated with new posts on my blog: