javascript設計模式系列


創建型:

1.抽象工廠模式(Abstract Factory)

2.構建者模式(Builder)

3.工廠方法模式(Factory Method)

4.原型模式(Prototype)

5.單例模式(Singleton)

 

結構型:

1.適配器模式(Adapter)

2.橋接模式(Bridge)

3.組合模式(Compositor)

4.裝飾者模式(Decorator)

5.外觀模式(Facade)

6.享元模式(Flyweight)

7.代理模式(Proxy)

 

行為:

1.職責鏈模式(Chain of Responsibility)

2.命令模式(Command)

3.解釋器模式(Interpreter)

4.迭代器模式(Iterator)

5.中介者模式(Mediator)

6.備忘錄模式(Memento)

7.觀察者模式(Observer)

8.狀態模式(State)

9.策略模式(Strategy)

10.模板方法模式(Template Method)

11.訪問者模式(Visitor)


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM