Archive for October, 2008

SOAP structures in PHP

Handling SOAP structures in PHP can sometimes be really annoying. If an interface is defined in the WSDL as returning an array I can’t be sure that I will get an array. If there is only one element in the array PHP tries to be clever and turn the wanted array into an object which, [...]

PHP

Calculating annuity in PHP

A collegue asked me about calculating annuity payments on loans. So I had a quick look around and found many people asking the same thing. The concept might be simple but it seems a lot of people stumble when it comes t othe algorithm.
Most of what I found was online calculators. The Swedish site rantekalkyl.se [...]

PHP

Finally namespaces

There’s a lot of whining whining about the new namespace separator these days. Not only on blogs. At first I was a bit negative towards the choice but is more and more convinced it is a good one.
First of all, few of the people complaining seem to have read the RFC documents explaining in detail [...]

PHP

Two weeks with Zend Studio for Eclipse

After more than ten years with Emacs and terminal flipping as my primary development environment, whether for C, PHP, WSDL, HTML/CSS or javascript, I decided to try (I mean really really try) an IDE for a while. As PHP is my main focus these days I have been looking towards Zend Studio for Eclipse. I [...]

PHP