Skip to content

adoi/node-design-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Design Patterns with NodeJS


A design pattern is a reusable solution to a recurring problem.


In this repository I am going to implement some of the most important GoF design patterns. Javascript is a very flexible language and there are many ways in which we can implement Design Patterns, but what does not change is the overall logic behind them.

When talking about design patterns we usually refer to the 'classical' ones which include Creational, Structural and Behavioral design patterns.


The following have been implemented in this repo:

Creational Structural Behavioral
Factory Proxy Observer
Singleton Adapter Strategy
Builder Decorator Iterator
Prototype

Resources to learn about Design Patterns:

  1. Node.js Design Patterns - Second Edition [Mario Casciaro, Luciano Mammino]
  2. Design patterns : elements of reusable object-oriented software [Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm]
  3. Head First Design Patterns [Elisabeth Freeman and Kathy Sierra]

Developed by Adonis Murati.

Found any bug/grammar mistake? Feel free to fork the repo, make the changes and do a PR.

Releases

No releases published

Packages

No packages published