Archive for October, 2011


Although Multiton is regarded by many just as another type of Singleton and not even a design pattern by itself, I like to give it the credits it deserves and put it next to it’s little brother on the same rank of importance in the world of design patterns.

Anyway, one thing is clear: it resembles so much the Singleton pattern that in all the technical books you will always find it explained right next to this one. Some books, like Addison-Wesley’s “Design Patterns” refer to it as “Registry of Singletons” instead of Multiton.

You already probably know what a Singleton is (if not I advise you to read this article first, where I explained what’s a Singleton and where you should use it), so let’s see what new things Multiton comes with.

View full article »

First of all a Singleton is not the same thing as a Simpleton :) although it might be resembled that way in the wide world of Design Patterns.

So like you probably already figured it out, a Singleton is the simplest Design Pattern I can think about. What are Design Pattern you might ask. Well, Design Patterns, as they are called in the IT world, are in fact some sort of “golden eggs” in computer programming. They are reusable solutions to well known problems which you can apply in certain situations. They are field-tested implementations with proven endurance over the years and they are used by a vast majority of our nowadays software applications: websites, standalone applications, multi-server distributed software, you name it…

View full article »