Skip to main content


Showing posts from June, 2007

Tutorial MVC pattern for Zend Framework

I like to use the Zend Framework (currently v1.0.0 RC 2) and I like to use a Model-View-Controller (MVC) pattern to divide my business logic, my visual stuff and my own scripts. What I didn't find on the net was an actual example that would show you how to set up a basic application using the ZF and MVC, with the ZF standards in mind.
So, for my own reference (and the rest of the world) I write here a simple application using Zend Framework and the Zend Framework MVC model.

This tutorial uses LAMP settings, so for other setups you need to figure some stuff out yourself (and add them here as comments ;-)

My setup:
Linux: 2.6.18Apache: 2.2.3MySQL: 5.1Php: 5.2.1Zend Framework: 1.0.0 RC 2Step 1: Getting the Framework
Go to and download the latest version of Zend Framework. For easy maintenance, unpack the files in the /opt directory using version info in the directory (e.g. /opt/zend_framework_1.0.0_rc2).
Symlink /opt/zf to /opt/zend_framework_1.0.0_rc2, so you can swi…

Dutch PHP Conference 2007

Dutch PHP Conference 2007

My collegues and I visited the Dutch PHP Conference in Amsterdam, where we discovered a lot of PHP enthousiasts and participated on several interesting sessions.

The two first sessions were actually great.
The first given by Cal Evans (DevZone, Zend Technologies) about mash-ups was light and funny.
The second given by Kevlin Henney about Objects of Desire was a non-technical approach to the Object Oriented way developers tend to think. Absolutely great.

A TUX that really runs Linux

A TUX that really runs Linux

Today I went to the Dutch PHP Conference in Amsterdam where I met a guy running around with Tux, the cute little pinguin that has become the symbol for Linux. When I spoke with him, he told me it wasn't just a cute thing you could put on your desktop, but that it was in fact a complete webserver, ready to run Apache and PHP 5.

So he gave me the link to the site where you can buy this cute little gadget that is actually a cool device. See for yourself at

UML Class Diagrams

One of the things you need to master if you're a developer is to read, understand and create UML Class Diagrams, especially if you develop in a Object Oriented way, since the Class Diagrams are your building blocks.

For me, a Certified Zend PHP Engineer, it's a brave new world challenging the different elements to create UML schemes. Although it's pretty straight forward, things like relationships, containment, inheritance and associations I still need to master to create decent UML Class Diagrams.

Luckily on my Linux workstation, I have a tool available to create nice UML schemes, called Dia. The advantage is that I can export each scheme into several othere formats like SVG, JPEG, PNG, XML and more.