Skip to content

danivegamx/design-patterns-en

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Design Patterns Examples

By Daniel Vega Ceja [email protected] @danivegamx

Frontend Core Engineer

Intro

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.

Versions

At the moment, these versions are used on the proyect:

Python

ver 3.5

Javascript

ECMAScript 5

I will add ECMAScript 6 syntax also.

Pattern clasification

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 responsability
Command
Iterator
Moderator
Memento
Observer
State
Strategy
Visitor

Included

File and folder structure

/
---- 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

About

Design Patterns examples coded on Python and Javascript (English comments)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published