Javascript Design 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 |
MIT License © Ardak Tileu