Design patterns in programming are reusable solutions to common software design problems.
Collections of Design Pattern implementations with concept explanations and code examples in Python and JavaScript.
| Sl. No. | Design Pattern | Concept | Python Code | JavaScript Code |
|---|---|---|---|---|
| 1 | Singleton Pattern | Python | JS | |
| 2 | Factory Pattern | Python | JS | |
| 3 | Abstract Factory Pattern | Python | JS | |
| 4 | Builder Pattern | Python | JS | |
| 5 | Prototype Pattern | Python | JS |
| Sl. No. | Design Pattern | Concept | Python Code | JavaScript Code |
|---|---|---|---|---|
| 6 | Adapter Pattern | Concept | Python | JS |
| 7 | Decorator Pattern | Concept | Python | JS |
| 8 | Facade Pattern | Concept | Python | JS |
| 9 | Composite Pattern | Concept | Python | JS |
| 10 | Proxy Pattern | Concept | Python | JS |
| 11 | Bridge Pattern | Concept | Python | JS |
| 12 | Flyweight Pattern | Concept | Python | JS |
| Sl. No. | Design Pattern | Concept | Python Code | JavaScript Code |
|---|---|---|---|---|
| 13 | Command Pattern | Concept | Python | JS |
| 14 | Mediator Pattern | Concept | Python | JS |
| 15 | Chain of Responsibility | Concept | Python | JS |
| 16 | State Pattern | Python | JS | |
| 17 | Template Pattern | Python | JS | |
| 18 | Null Object Pattern | Python | JS | |
| 19 | Observer Pattern | Concept | Python | JS |
| 20 | Strategy Pattern | Concept | Python | JS |
| 21 | Iterator Pattern | Concept | Python | JS |
| 22 | Visitor Pattern | Concept | Python | JS |
| 23 | Memento Pattern | Concept | Python | JS |
⭐ If you find this repository useful, consider giving it a star!
Collections of python code for different design pattern implementation on real life objects
- Tic-Tac-Toe (uml)
- Elevator System (uml)
- Hash Map Data Structure
- Vending Machine (uml)
- BookMyShow (Ticket Booking Service) (uml)
- ATM Machine (uml)
- File System
- Calculator
- Splitwise (uml)
- Cricbuzz
- Inventory Management
- Parking Lot Management
All credits to Shreyansh Jain for his amazing LLD playlist
|

