Blog (6 of 14)
-
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 ➞ -
Presenting: PHP Commit Hooks
In our company blog I blogged about a pet project of mine: PHP Commit Hooks. This is a follow up to my earlier blog posts: SVN commit hooks, which was inspired by a discussion on an earlier PHP Unconference in Hamburg. Read more in the the Qafoo blog.
Tuesday 20 July 2010Read more ➞ -
Presenting: PHP Commit Hooks
For those of us using SVN there are some quite common pre- and post-commit hooks in a lot of company repositories, all using their own implementation: Lint checks, CodeSniffer checks, etc. We created a small framework for those commit hooks, which makes it easy to create own checks and custom reporters. Read on for details.
Tuesday 20 July 2010Read more ➞ -
PHP quality assurance tools
Some of the most important tools for quality assurance in PHP projects are PHP_Depend and PhpUnderControl. In the future Qafoo will provide support for both, read on for details.
Tuesday 1 June 2010Read more ➞ -
Starting Qafoo logo contest
We are starting a logo contest for Qafoo now, and you can win 350€ (~450$) in it! Read more for details.
Monday 10 May 2010Read more ➞ -
Native parallel PHP job queue
To make use of multiple cores for some rather long processing operations I needed a way to fork multiple workers from a single PHP script multiple times lately. So I created a small project on github which implements this in a way, so that it should reusable by anybody. Read more for the details…
Thursday 6 May 2010Read more ➞ -
Designing a generic web installer
Each somehow popular web applications needs one: A proper web installer - but there still is no general solution for that. Read more, to see what we are planning to do about this…
Monday 26 April 2010Read more ➞ -
FrOSCon - Call For Papers
One of the most amazing conferences will take place this summer again - the "Free and Open Source Conference" - FrOSCon. We will organize a PHP-track again, read more for details.
Wednesday 21 April 2010Read more ➞ -
Where do the eZ Components go?
Like Toby wrote in his blog, he and me left eZ Systems last month, to focus on out diploma thesis and for some new challenges. But where does that leave eZ Components?
Monday 19 April 2010Read more ➞
Subscribe to updates
There are multiple ways to stay updated with new posts on my blog: