Design Pattern Tour: Overview
Today, I’d like to start a new series of Design Patterns. This is not a series for those who don’t have prior knowledge of these design patterns. So, my recommendation is to at least explore and skim through this website to gain some basic knowledge about design patterns. As for the code example, you can find a Java version on My Github, which is based on the example of the website and you should be able to run it directly.
And as always, I will not talk about the detailed intents or implementations. Instead, I will be focusing on my personal understanding of these design patterns and their relationship and difference. Moreover, I will share some useful materials I was referring to for your further study.
This series will involve three blogs, including Creational Patterns, Structural Patterns and Behavioral Patterns. And here’s the outline for you to conveniently skip to the design pattern you are looking for.
- Creational Patterns: Factory(Factory Method, Abstract Factory), Builder, Prototype, Singleton.
- Structural Patterns: Adaptor, Bridge, Composite, Decorator, F
acade, Flyweight, Proxy.
- Behavioral Patterns: Chain of Responsibility, Command, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, Visitor.
- Summary: What I was thinking after learning these design patterns.
However, I always think that the name of a pattern doesn’t really matter. The only thing we should learn from these patterns is the underlying ideas.
Hope my blogs will not waste your time and feedbacks are always welcome.