Blog Archive
Category: Patterns of Software Design
We wrap up the season with the observer pattern and a review of what we have learned. This pattern is one that you probably have already encountered. Instead of an observer, you…
Software Design – The Visitor Pattern
The visitor pattern is the last of the behavioral ones for us to review. This is going to feel similar to some others that allow us to abstract functionality such as a…
Software Design – The Template Method Pattern
In the last episode, we looked at abstracting algorithms. Now we examine the template method pattern and how it allows us to abstract steps of an algorithm. Thus, providing a template for…
Software Design – The Strategy Pattern
Our review of the behavioral design patterns moves on to look at the Strategy pattern. This is one that you might not recognize from the name. However, it is relatively common in…
Software Design – The Memento Pattern
We tackle the memento pattern in this episode. If you ever wanted to store the state of an object, then this is the one for you. You can think of this pattern…
Software Design – The State Pattern
In this episode, we look at the state pattern. It is a design that uses object-oriented tactics to provide a class with very different functionality based on its current state. I think…