Archive for the ‘Development’ Category

Avoiding temporary array assignment in PHP

Thursday, September 3rd, 2009

Even though I’ve been developing with PHP for a number of years, I still enjoy discovering new ways of working. Even though the stdClass object is about as basic as you can get, it’s never struck me as being a worthwhile tool. (more…)

MySQL Replication over SSL

Friday, June 19th, 2009

A new project requires MySQL replication to be carried out over the internet. My first thought was to use stunnel, which I quickly implemented. This appeared to work perfectly (after some iptables configuration). However, I found out later that MySQL supports replication over SSL natively. I have made the assumption (perhaps mistakenly) that a native solution would be better (more reliable?) than a wrapped solution. Getting MySQL replicating over SSL was perhaps about 30 minutes work in total. This could’ve been cut down to about 10 minutes if it wasn’t for some documentation-related issues.
(more…)

wordpress, ahoy

Friday, June 19th, 2009

For the past 7 years I have had good intentions for this domain. All I wanted was to fill it with useful stuff. Unfortunately,  I was always busy playing games with work to actually put in enough time to develop a full CMS with useful tools and a nice user interface.

Along comes wordpress and very deftly puts to shame any half-baked CMS I ever came up with.

Hopefully, wordpress will bolster my rather stop-start blogging career.