From the mind of an IT professional

Thoughts, projects, other random ideas and sometimes just braindump.

Teaser image: PHP_Depend-0.9.4 released

PHP_Depend-0.9.4 released

Today I released PHP_Depend 0.9.4, which contains many bug fixes and improvements.

Teaser image: PHP_Depend-0.9.3 released

PHP_Depend-0.9.3 released

Just now I released PHP_Depend 0.9.3, the primary goal for this release was focused on less memory consumption. A run of PHP_Depend 0.9.2 against eZ Publish took up to 1GB and PHP_Depend 0.9.3 analyzes the same source with a memory limit of 160Mb.

Teaser image: Seven Things - Tagged by Kore Nordmann

Seven Things - Tagged by Kore Nordmann

Nowadays there are some really strange online habits, like this I was tagged post. Even if I ignore most of those customs this time I will go on with Kore's blog post and tell seven things about me.

Teaser image: PHP_Depend-0.9.2 released

PHP_Depend-0.9.2 released

This is a bug fix release of PHP_Depend. Version 0.9.2 fixes bug \#84, which could result in a failure for all PHP versions lower than 5.3.0alpha2.

Teaser image: PHP_Depend-0.9.1 released

PHP_Depend-0.9.1 released

Just now I released PHP_Depend 0.9.1, the major feature in this new version is an implementation of the NPath Complexity metric, beside that feature the main focus for this release was on performance improvements of the current implementation.

Teaser image: Integrate php lint syntax checks in your build process

Integrate php lint syntax checks in your build process

Here is a small code snippet that can be used to integrate php's internal lint syntax check into your build process. The ant task apply behaves like the exec task, but it accepts a nested fileset element. This allows to process a set of input files thru a single command.

Teaser image: More QA with CruiseControl and PHP_CodeSniffer

More QA with CruiseControl and PHP_CodeSniffer

I am using CruiseControl for some time now, to run all Unit Tests for a project continuous after each commit. Since Sebastian Bergmann started the development of PHPUnit 3.2 he added support for software metrics and PMD to PHPUnit, that give you further informations about the quality of your source code. These two features are really well integrated into CruiseControl, the only thing you need to do is to comment out the following lines in the main.jsp file.

Teaser image: Exploring the MVC

Exploring the MVC

During the last weeks while I have read some documents about the model view controller pattern (MVC) which seem to be wrong in my eyes or better expressed which mix and merge different application layers in a wrong way I decided to write this blog post Everybody who reads this text should know for what the shortcut MVC stands It describes the responsibilities and dependencies between model…