JS中的7种设计模式

第九章Refactoring to OOP Patterns 重构为OOP模式

7种设计模式:

1,模版方法模式(template method)

2,策略模式(strategy)

3,状态模式(state)

4,null 对象

5,装饰者模式(decorator)

6,适配器模式(adapter)

7,外观模式(facade)

posted @ 2018-07-17 01:01  野鸡码农  阅读(338)  评论(0)    收藏  举报