Skip to content

This repo features key design patterns with concise explanations and practical implementations to help you understand and apply software design principles.

License

Notifications You must be signed in to change notification settings

arminmokri/DesignPatterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Design Patterns

Please support my repo with your star.

Creational

3- Abstract Factory ๐Ÿ›’

4- Builder ๐Ÿ—๏ธ

5- Prototype (Clone) ๐Ÿงฌ

6- Singleton ๐Ÿ”’

Structural

1- Adapter (Wrapper) ๐Ÿ”Œ

2- Bridge ๐ŸŒ‰

4- Decorator (Wrapper) ๐ŸŽ

5- Facade ๐Ÿ›๏ธ

6- Flyweight (Cache) ๐Ÿชถ

7- Proxy ๐Ÿ•ต๏ธโ€โ™‚๏ธ

Behavioral

3- Interpreter ๐Ÿง 

4- Iterator ๐Ÿ”„

6- Memento (Snapshot) ๐Ÿ“ธ

8- State ๐Ÿ”€

9- Strategy โ™Ÿ๏ธ

10- Template Method ๐Ÿ“‹

11- Visitor ๐Ÿšถ

Microservices

1- API Gateway โŒ

3- Circuit Breaker โŒ

5- Event Sourcing โŒ

7- Saga โŒ

8- Strangler Fig โŒ

9- Bulkhead โŒ

10- Sidecar โŒ

Anti-Patterns

1- Magic PushButton โŒ

2- Boat Anchor โŒ

4- Error Hiding โŒ

5- Lava Flow โŒ

6- Spaghetti Code โŒ

9- Golden Hammer โŒ