-
Book Overview & Buying
-
Table Of Contents
Real-World Implementation of C# Design Patterns
By :
Do you think you have an idea for your own design pattern? The GoF book presents a boilerplate documentation framework for publishing your own patterns. I won’t duplicate it fully here, but I will outline it for you. It involves four essential elements, as follows:
Let’s talk a little about each section.
Every pattern needs a name that describes the pattern. Most of the patterns out there have names that make you think of general words from normal language. The word memento refers to a physical object that invokes memories of times past. The word singleton invokes the idea there’s a single thing. Come up with a short, memorable name that invokes the idea behind the pattern.
You also need a classification. In this book, we observed the three classifications in the GoF book...