Browse by Tags

All Tags » General Software Development (RSS)
Time for the next part in our series , the Iterator Pattern . Let's start with the definition: " Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation. " Read more at http://blog.cumps...
Time for yet another pattern, the Template Method Pattern . Have a look at all the other patterns in the series as well. The definition: " Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclasses...
Time for another, simple , design pattern. The Facade Pattern . I'm going to need a break soon, getting a bit burned out, which never is a good thing. Anyway, the definition of today's pattern: " Provide a unified interface to a set of interfaces in a...
We've seen quite a few patterns so far, and I'm glad so many people like them. They turned out to be the most popular posts I've ever written when it comes to development. Thanks! :) A little overview for the late joiners: Long Absence - Design Patterns...
What's a lonely geek to do late in the evening? Write about the Command Pattern of course... Let's start with the definition: " Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests...
A little follow up from yesterday's Singleton Pattern , where I asked for some help on how you would approach a generic singleton . With the help of Andrew Stevenson and ExNihilo , we came up with the following Generic Singleton Pattern : Read more at...
Today we'll have a look at a well known pattern, the Singleton Pattern . Most people have already heard about this one. The definition: " Ensure a class has only one instance and provide a global point of access to it. " Read more at http://blog.cumps...
Time to continue from yesterday's Factory Method Pattern by exploring the Abstract Factory Pattern . Anyway, time for the definition and then some code to make everything clear. " Provide an interface for creating families of related or dependent objects...
I present you with the next pattern in our series , the Factory Method ! It took a while to get it out due to a stay in the hospital. (All is fine now :p) First of all, the definition: " Define an interface for creating an object, but let the subclasses...
Following up on the Observer/Event Pattern , it’s time for the third pattern, the Decorator Pattern . The definition: " Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending...
More Posts Next page »