A Path Less Taken

Breaking with convention in a very conventional fashion. Powered by WordPress

"The mightiest oak in the forest is just a tiny nut that held its ground."
Fortune Cookie

Saturday, August 8, 2009

Category: Design Patterns Author: JJ 0 Comments

The Singleton Pattern is one of the simplest software design patterns to understand. It is helpful when you want to create a utility class in your applications to handle certain functions like database connections and you want to assure there is never more than one object of that class at a time. Here is a brief example of how the Singleton Pattern can be implemented in a PHP class.

Continue reading >>

Tuesday, August 4, 2009

Category: Software Author: JJ 2 Comments

When it comes to software you might argue that thin is in! One category of software that interests me is small footprint software. This includes products that don’t use databases or that come in very small packages. Here are 3 that I’ve noticed lately. If you know of others then please let me know.

Continue reading >>