What are the different categories of JavaScript design pattern?

What are the different categories of JavaScript design pattern?

Hey Ian,

JavaScript design pattern can be majorly categorized into 3 groups:

a) Creational Design Pattern

b) Structural Design Patterns

c) Behavioral Design Patterns

Creational Design can be further categorized into:

1. Constructor Pattern

2. Factory Pattern

3. Prototype Pattern

4. Singleton Pattern

Structural Design Patterns can be further categorized into:

1. Adapter Pattern

2. Composite Pattern

3. Module Pattern

4. Decorator Pattern

5. Facade Pattern

6. Proxy Pattern

Behavioural Design Pattern can be further categorized into:

1. Chain of Responsibility Pattern

2. Command Pattern

3. Observer Pattern

4. Iterator Pattern

5. Template Pattern

6. Strategy Pattern

Go get into details of each one of them, please go through A Comprehensive Guide To JavaScript Design Patterns

3 Likes