Introduction
1.
概念
2.
常見設計模式
2.1.
生成(Creational)
2.1.1.
生成模式備註
2.1.2.
簡單工廠(Simple Factory)
2.1.3.
工廠方法(Factory Method)
2.1.4.
抽象工廠(Abstract Factory)
2.1.5.
生成器(Builder)
2.1.6.
原型(Prototype)
2.1.7.
單例(Singleton)
2.2.
結構(Structural)
2.2.1.
轉接器(Adapter)
2.2.2.
橋樑(Bridge)
2.2.3.
合成(Composite)
2.2.4.
裝飾(Decorater)
2.2.5.
表象(Facade)
2.2.6.
享元(Flyweight)
2.2.7.
代理人(Proxy)
2.3.
行為(Behavioral)
2.3.1.
責任鏈(Chain of Responsibility)
2.3.2.
命令(Command)
2.3.3.
解釋器(Interpreter)
2.3.4.
迭代器(Iterator)
2.3.5.
中介者(Mediator)
2.3.6.
備忘錄(Memento)
2.3.7.
觀察者(Observer)
2.3.8.
狀態(State)
2.3.9.
策略(Strategy)
2.3.10.
樣板方法(Template Method)
2.3.11.
訪客(Visitor)
3.
學習資源
3.1.
文件
Published with GitBook
A
A
Serif
Sans
White
Sepia
Night
Share on Twitter
Share on Google
Share on Facebook
Share on Weibo
Share on Instapaper
PHP 設計模式
常見設計模式
這裏會介紹一些大家常看到一些設計模式