GoF 디자인 패턴
GoF(Gang of Four)는, 소프트웨어 디자인 패턴에 대한 서적중 하나인
"Design Patterns:Elements of Reusable Object-Oriented Software"
에서 널리 알려진 네 명의 저자를 가리킨다. 총 23가지 디자인 패턴을 소개하고 있다.
요약 정리
GoF 디자인 패턴은 다음과 같이 목적과 범위에 따라 정리된다.
생성(목적)
- 범위
클래스: Factory Method
객체: Abstract Factory, Builder, Prototype, Singleton
구조(목적)
- 범위
클래스: Adapter
객체: Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy
행위(목적)
- 범위
클래스: Interpreter, Template Method
객체: Chain of Responsibility, Command Iterator, Mediator, Memento, Observer, State, Strategy, Visitor