By Daniel Vega Ceja [email protected] @danivegamx
Frontend Core Engineer
This repo is to share examples for design patterns, coded in Python and Javascript (Vanilla). Contribute with examples and files to give variety to each pattern.
At the moment, these versions are used on the proyect:
ver 3.5
ECMAScript 5
I will add ECMAScript 6 syntax also.
Taken from GoF (Gang of Four)
/ | Creationals | Structure | Behavior |
---|---|---|---|
class | Factory |
Adapter |
Interpreter Template Method |
object | Abstract Factory Builder Prototype Singleton |
Adapter Bridge Composite Decorator Facade Flyweight Proxy |
Chain of responsabilityCommand Iterator Moderator Memento Observer State Strategy Visitor |
Included
/
---- Architecture /
---- Layer /
---- Layer.py
---- MVC /
---- Behavior /
---- Command.py
---- Observer.py
---- Strategy.py
---- Design /
---- Creationals /
---- Builder.js
---- Factory.py
---- abstractFactory.py
---- Singleton.js
---- Structure /
---- Facade.py
---- Adapter.js
LICENSE
README.md