Skip to main content


Showing posts from October, 2008

The elePHPants are coming

Today I received a package from Nexen, containing 50 elePHPants ! Whohoo !!!

There's so much fun unpacking them, I wanted to share it with you.

Blogged with the Flock Browser

BugHuntDay or fixing bugs for fun is a joined effort between the Dutch PHP user group phpGG and the Belgian PHP community PHPBelgium to show that fixing bugs can be fun and is also a much appreciated way to contribute back to the global PHP community.

Fixing bugs is mostly considered the least favorite part of open-source projects, which often delays a good project growing into a great one. And this is a pity, because fixing bugs can really be fun and is very educative.

Since this BugHuntDay is not really just one day, but a series of days that both phpGG and PHPBelgium devote on fixing bugs of a PHP library or framework. A typical BugHuntDay is started with a small presentation by a code contributor to that framework or library, followed by a group effort fixing bugs while being assisted by experts. This way attendees learn a bit of the framework or library, the process of fixing bugs and the process of quality assurance (QA).

The first BugHuntDay is planned for November 8 in Roosendaal (the Netherlands) …

Throwing and catching exceptions

I recently had to review a web application that was written in PHP and was using Zend Framework to facilitate in the site setup.

One thing that I noticed was that although the code was well written, implementing coding standards and best practices on many of the classes, I did notice a wrong usage of throwing exceptions (the try - catch statements). Most of the exceptions were captured in global class, but nothing was done with it. In this blog post I will try to explain the concepts of bubbling exceptions so you can manage it all in one place.

If you're new to the concept of throwing and catching exceptions, take a look at the description on as it explains you clearly what it's all about.

In short, throwing and catching exceptions is the good way to make sure your application doesn't do stuff it isn't supposed to do and leaving your application broken.

Example: division by zero
function divide($value)
    return 1 / $value;

This example will return a fatal error wh…

Zend Framework Certified Engineer

Last Friday was a successful day for me as I passed the Zend Framework Certified Engineer (ZFCE) exam from Zend at a Pearson Vue testing center in Mechelen.

The exam covers 14 topics and launches 75 questions at you, mostly multiple choice but also a random free field for you to fill in.

Zend provides a Zend FrameworkStudy Guide to prepare yourself for this exam, but as the exam covers many detailed components from the Zend Framework, the minimized version of this study guide only touches the most important components and common understandings.

The main categories are:
MVCFormsDatabasesInfrastructureSecurityCoding StandardsInternationalizationMailSearchAuthentication and Access controlFiltering and ValidationWeb ServicesPerformanceDiagnosis and MaintainabilityMy advise for anyone taking this exam is to read the Zend FrameworkStudy Guide and go through the Zend Framework Manual afterwards to study on the topics untouched or barely touched in this Zend FrameworkStudy Guide.

If you doubting y…