├── .gitignore ├── README.rst ├── behavior ├── blackboard.py ├── chain_of_responsibility.py ├── command.py ├── interpreter.py ├── iterator.py ├── mediator.py ├── memento.py ├── observer.js ├── observer.py ├── state.py ├── strategy.py ├── template_method.py └── visitor.py ├── generating ├── abstract_factory.py ├── builder.py ├── factory_method.py ├── prototype.py ├── singleton.js └── singleton.py └── structural ├── adapter.py ├── bridge.py ├── composite.py ├── decorator.py ├── facade.py ├── flyweight.py ├── module.js └── proxy.py /.gitignore: -------------------------------------------------------------------------------- 1 | .idea -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/README.rst -------------------------------------------------------------------------------- /behavior/blackboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/blackboard.py -------------------------------------------------------------------------------- /behavior/chain_of_responsibility.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/chain_of_responsibility.py -------------------------------------------------------------------------------- /behavior/command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/command.py -------------------------------------------------------------------------------- /behavior/interpreter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/interpreter.py -------------------------------------------------------------------------------- /behavior/iterator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/iterator.py -------------------------------------------------------------------------------- /behavior/mediator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/mediator.py -------------------------------------------------------------------------------- /behavior/memento.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/memento.py -------------------------------------------------------------------------------- /behavior/observer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/observer.js -------------------------------------------------------------------------------- /behavior/observer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/observer.py -------------------------------------------------------------------------------- /behavior/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/state.py -------------------------------------------------------------------------------- /behavior/strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/strategy.py -------------------------------------------------------------------------------- /behavior/template_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/template_method.py -------------------------------------------------------------------------------- /behavior/visitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/behavior/visitor.py -------------------------------------------------------------------------------- /generating/abstract_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/generating/abstract_factory.py -------------------------------------------------------------------------------- /generating/builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/generating/builder.py -------------------------------------------------------------------------------- /generating/factory_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/generating/factory_method.py -------------------------------------------------------------------------------- /generating/prototype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/generating/prototype.py -------------------------------------------------------------------------------- /generating/singleton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/generating/singleton.js -------------------------------------------------------------------------------- /generating/singleton.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/generating/singleton.py -------------------------------------------------------------------------------- /structural/adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/structural/adapter.py -------------------------------------------------------------------------------- /structural/bridge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/structural/bridge.py -------------------------------------------------------------------------------- /structural/composite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/structural/composite.py -------------------------------------------------------------------------------- /structural/decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/structural/decorator.py -------------------------------------------------------------------------------- /structural/facade.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/structural/facade.py -------------------------------------------------------------------------------- /structural/flyweight.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/structural/flyweight.py -------------------------------------------------------------------------------- /structural/module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/structural/module.js -------------------------------------------------------------------------------- /structural/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkolt/design_patterns/HEAD/structural/proxy.py --------------------------------------------------------------------------------