Giter Site home page Giter Site logo

design-patterns's Introduction

##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)

design-patterns's People

Contributors

wqlyy avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.