latest news
Custom sorting order in LINQ (ORDER BY WEIGHTING)
I have developed a C# LINQ extension method to allow very flexible ordering by assigning weightings to the sort keys of the elements to be ordered. I was inspired by the functionality offered by SQL Server's ORDER BY CASE WHEN:…
String.Capitalize in C# (PHP’s ucwords in C#)
I have been playing around with C# recently and found the need for functionality similar to that provided by PHP's ucwords() function. I dont think this exists in C# as standard so here is a simple extension method to achieve…
Cloning Zend_Config without side-effects
Cloning in PHP5 PHP5 with its much improved object-oriented style passes objects by reference by default. To create a copy of an object, a new construct 'clone' is introduced. Cloning an object in PHP5 creates a shallow copy - any…
Install phpUnderControl on CentOS 5
If you follow this guide you should start with a basic CentOS 5 installation with Subversion setup correctly and end up with a working installation of phpUnderControl.
MooTools and Swiff: Slideshow / Thumbnail Gallery
I have recently launched a website for the Bramham Lodge Residential Development in Bramham Village. The site features a neat Slideshow / Thumbnail Gallery implementation using MooTools and Flash (utilising the Swiff utility of MooTools 1.2). A demo can be…
quick links
Image Gallery
Here is a personal image gallery, containing some of my favorite pictures, including our cat Ken and holidays with my girlfriend Emma, amongst others.
The gallery uses the ImgView and ImgRoll javascript libraries, which I created. More on this can be found at the demos page.

















