ardakkk / design-patterns

A design pattern is a term used in software engineering for a general, reusable solution to a commonly occurring problem in software design.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Javascript Design Patterns

Creational Patterns

Pattern Description
Singleton A class with only a single instance with global access point
Prototype A fully initialized instance used for crying or cloning
Factory This makes an instance of several derived classes based on interfaced data or events

Behavioral Design Patterns

Pattern Description
Observer A way of notifying change to a number of classes to ensure consistency between the classes

Structural Design Patterns

Pattern Description
Adapter Match interfaces of different classes therefore classes can work together despite incompatible interfaces

License

MIT License © Ardak Tileu

About

A design pattern is a term used in software engineering for a general, reusable solution to a commonly occurring problem in software design.

License:MIT License


Languages

Language:JavaScript 100.0%