Jun 30 2009

Singletons in PHP

John

We’re going to keep this one short and oh-so-sweet. First of all, let’s take a brief moment of silence for the late, great Michael Jackson. *Sigh*

Now, on to Singletons. One of the most common assumptions I hear about the Singleton pattern is a blatant declaration to simply not use them – as if they could absolutely never possibly be useful for anything, ever. That is, of course, very lame.

Continue reading


May 14 2009

Frameworks: Tendency Towards Dependency

John

We’ll get to that in a minute.

Welcome to the blog! If you’re here, and you need an explanation, you’re probably lost. However, because I’m a good sport, you’ve reached the life and times blog of John Napier, a 20-some-odd year old variety-of-things guy. If you know the difference between NP-Hard and NP-Complete, or you feel slightly offended that I’d even ask, you belong here. If you think it’s possible I insulted your mother at some point in that last 60 or so words, you might find your time better spent perusing around some other, less-technical articles – in which case, you’re currently out of luck, as this is my first post. Let’s be on with it then.

Continue reading