Blog (12 of 16)
Evil bugs in your code
Monday, December 3, 2007
From time to time I write some code snippets, which I find really hard to debug, and the code does not do, what it is expected to do. Especially when the code is not tested directly, but only executed in some a bit more complex environment. Those are 4 typical errors I introduced in my code, and spend some time debugging it, because I found them really hard to spot. Luckily, once I spotted the actual bug, I find it a lot easier the next time the typo occurs. Therefore I want to share those, so that I may save you some minutes of your life hunting stupid bugs.
Released kPortal successor: Torii
Sunday, November 25, 2007
After a quite long time, a lot of bug fixes and major changes, with several new features, modules and themes, I finally managed to release the successor of kPortal: Torii.
New phpUnderControl release
Saturday, November 24, 2007
Manuel just released a new version of phpUnderControl, which is now hosted on phpunit.de and got a new layout. Read on for details...
PHP Professional Training
Friday, November 23, 2007
By order of dynamic webpages and phpzertifizierung.eu (both german) I gave three trainings, which I just finished. The topics included: "Regular expressions", "Testdriven development with PHPUnit" and "Image creation". The slides are online now.
Manuel Pichler just released phpUnderControl
Monday, November 19, 2007
One of the members of the PHP Usergroup Dortmund, Manuel Pichler, just made a first release of phpUnderControl. This is a distribution and patchset for CruiseControl to offer you access from the webinterface to statistics you can get out of PEAR::Code_Sniffer and PHPUnit with its recently added new metrics. Read on for details...
Tagging - Broken by design
Thursday, November 15, 2007
In the meantime tagging, as a folksonomy, is often nearly used as equivalent to the whole Web-2.0-hype. Nowadays you can't develop any new application without adding tags, and I wanted to do the same. But reviewing the system in a bit more complex environment shows some major flaws, which can also be detected in the implementations of simple applications. This article lists some structural problems, and will be followed by other articles describing solutions for some of these cases.
IPC 11/07 - Publishing talks
Wednesday, November 7, 2007
I just finished my both talks at the IPC 07, a quick talk on MockObjects and a talk abaout regular expressions including a description of the new features, like condidtional subpatterns and recursive matches.
Parse with regular expressions
Wednesday, November 7, 2007
With recursive patterns in PCRE you can actually match recursive structures, even you should not try this. A regular expression to validate BBCode documents is included in the blog post.
eZ Components book in the press
Sunday, September 30, 2007
Tobys and my book about eZ Components, published by Galileo Computing, has passed the second gelley-proof and will be published very soon.
Image creation with PHP
Saturday, September 29, 2007
There are several ways to create images or graphics with PHP. First there are some well known extensions, like ext/GD, or perhaps ext/ming everybody immediately remembers, when it comes to graphics generation. But there are several structural differences not in between the avaliable libraries, but also between the image formats you can create. This article series will give you some insight on the formats and libraries, and then shows how an abstraction layer could be build.