🛠️ Design Patterns
Blogs
Github
About Me
Search
Search
Dark mode
Light mode
Patterns
Singleton Pattern
Abstract Factory Pattern
Factory Method Pattern
Decorator Pattern
Observer Pattern
Strategy Pattern
MENU
Blogs
Github
About Me
Patterns
Singleton Pattern
Abstract Factory Pattern
Factory Method Pattern
Decorator Pattern
Observer Pattern
Strategy Pattern
Design Patterns
Home
❯
Pattern Blogs
Pattern Blogs
1 min read
Singleton Pattern
Definition
Real-World Analogy
Implementation in Java
Design Diagram
Real-World Example in Java
Abstract Factory Pattern
Definition
Real World Analogy
Design
Design Principles
Factory Method Pattern
Definition
Real-World Analogy
Initial Implementation
Applying the Factory Method Pattern
Revised Design
Implementing the Revised Pattern
Decorator Pattern
Definition
Real World Analogy
Design
Coding Decorator Pattern
Complete Code In Java
Real World Example
Design Principles
Observer Pattern
Definition
Real World Analogy
Design
Code in Java
Real World Example
Design Principles
Strategy Pattern
Definition
Real World Analogy - 1
Code in Java
Real World Analogy - 2
Real World Example
Design Principles
Design Patterns
What is Design Pattern ?
Three Main Patterns
Tightly Coupled and Loosely Coupled Classes
1. Tightly Coupled Classes
2. Loosely Coupled Classes
SOLID Principles
1. Single Responsibility Principle (SRP)
2. Open-Closed Principle (OCP)
3. Liskov Substitution Principle (LSP)
4. Interface Segregation Principle (ISP)
5. Dependency Inversion Principle (DIP)
Contents: