Clinton Montague

Developer, learner of things, functional programming enthusiast, hacker, and all round inquisitor.

Number to words function in PHP

November 16, 2008

You know those ‘I have nothing to do this-afternoon so I want to waste some time making something utterly pointless’ moments? Well I get them too. Fortunately however, it turns out that my moment of inspiration led to a very useful script to turn ‘123’ into ‘One hundred and twenty three’. Bargain!

Automatically creating 'short names' / 'slugs' for URIs

Please note!! I have shamelessly stolen this article from my old and (even if I do say so myself) rather boring blog. So please ignore the terrible writing style! I’ll rewrite this article in the future, but until then, I present you with version 1.0 This tutorial follows on from my mod_rewrite semi-tutorial which allowed […]

Intelligent objects

Please note!! I have shamelessly stolen this article from my old and (even if I do say so myself) rather boring blog. So please ignore the terrible writing style! I’ll rewrite this article in the future, but until then, I present you with version 1.0 Anyone who has worked with the PHP/MySQL duo will no-doubt […]

Singletons in PHP

Design patterns can be boring things. Especially when the language you’re using keeps changing syntax. I had a bit of trouble implementing a Singleton in PHP, and so I have written this tutorial to explain the errors of my ways.

mod_rewrite semi tutorial

November 1, 2008

Please note!! I have shamelessly stolen this article from my old and (even if I do say so myself) rather boring blog. So please ignore the terrible writing style! I’ll rewrite this article in the future, but until then, I present you with version 1.0 There are a lot of tutorials out there regarding apache’s […]