Monthly Archives: October 2009

Restoring PDO functionality

A few years ago, while PHP 5 was still in a state of flux, a change was made to the way that PDO handles parameters bound to prepared statements. Somewhere between versions 5.2.0 and 5.2.1 a change was made that … Continue reading

Posted in Web development | Tagged , , , | Comments Off

PHP Development with Snow Leopard

I spend most of my working day developing with PHP and Apache on a Postgres database back-end. Mac OS X coming complete with two out of these three things is great but traditionally the standard installs have been a little … Continue reading

Posted in Web development | Comments Off

Snow Leopard

After waiting a decent length of time to make sure that there were no serious issues with Snow Leopard1 and with the release of OS X 10.6.1 I’ve finally got around to installing the thing. Here’s how things went for … Continue reading

Posted in Software | 1 Comment

Keep smiling

Today is World Mental Health day. The big screen in Edinburgh’s Festival Square on Lothian Road has been broadcasting related local short films for a couple of days now and will be the centre point of a day of activities … Continue reading

Posted in Personal | 1 Comment

I am the one and only

After previously explaining how to harden PDO I’m going to expand on the basic class I developed with the help of some design patterns. A large part of using design patterns lies in recognising the situations in which each one … Continue reading

Posted in Web development | Tagged , , , | Comments Off

Catching at source

If your application does not catch the exception thrown from the PDO constructor, the default action taken by the zend engine is to terminate the script and display a back trace. This back trace will likely reveal the full database … Continue reading

Posted in Web development | Tagged , , , | Comments Off

Stand by for action

It has occurred to me recently that I actually have a huge body of work from which to draw inspiration for topics to blog about, namely what I do during my working day and have been doing for nigh on … Continue reading

Posted in Personal | Tagged , , | Comments Off