Category Archives: Software Design

How Well Do You Understand “Static” Variables?

Today I realized that I did not completely understand the “static” keyword as it applies to variables, which is used in many programming languages. If you weren’t aware of the full breadth of how the static keyword alters a variable, this post should be a mind blower. So, let’s start simple. Take the following example [...]

Also posted in Abstract, PHP, Programming | 2 Comments

Quick Introduction to the Observer Pattern

A continuation in my self-assigned crash course in design patterns, I’ve been learning more about the observer pattern recently. It’s a cool pattern, and I’m hoping I can convince some of you that it’s worth learning more about. I only have time for a quick post, and hopefully I can get in the major points [...]

Also posted in Programming | 1 Comment