
Design Patterns - Facade Pattern
The Facade Pattern: one LoadMap() call on a StorageFacade instead of juggling the CD, hard disk and memory classes yourself.

Wordpress 2.6 Upgrade - Fix Missing Categories
I wasn't the only one losing categories after a WordPress 2.6 upgrade, so here are screenshots of how I fixed it.

Design Patterns - Adapter Pattern
The Adapter Pattern: making a third-party Structure behave like our own IBuilding, the way a travel plug adapter does.

Design Patterns - Command Pattern
The Command Pattern: UI buttons that run commands without knowing about game units, with undo for the last action.

Design Patterns - Generic Singleton Pattern
A generic Singleton base class that creates its instance through the private constructor with reflection, worked out with readers' help.

Wordpress 2.6 Upgrade - Categories Missing
After upgrading WordPress from 2.2.3 to 2.6, my plugins still worked, but every category became an empty string and the category URLs broke.

Design Patterns - Singleton Pattern
The Singleton Pattern: a single GraphicsCard instance, why the simple version isn't thread-safe, and a lazy, thread-safe version with a nested class.

Design Patterns - Abstract Factory Pattern
The Abstract Factory Pattern: one GameUnit class per unit type, configured per faction by a factory passed in at runtime, and how it differs from Factory Method.

Design Patterns - Factory Method Pattern
The Factory Method Pattern: an abstract InfantryFactory building, with one subclass per faction deciding which units to create.
