🛠️ Design Patterns
Blogs
Github
About Me
Search
Search
Dark mode
Light mode
Patterns
Best Practices
Quiz 2
Compound Pattern
Proxy Pattern
State Pattern
Composite Pattern
Glossary
Iterator Pattern
Template Method Pattern
Quiz 1
Facade Pattern
Adapter Pattern
Command Pattern
Singleton Pattern
Abstract Factory Pattern
Factory Method Pattern
Decorator Pattern
Observer Pattern
Strategy Pattern
MENU
Blogs
Github
About Me
Patterns
Best Practices
Quiz 2
Compound Pattern
Proxy Pattern
State Pattern
Composite Pattern
Glossary
Iterator Pattern
Template Method Pattern
Quiz 1
Facade Pattern
Adapter Pattern
Command Pattern
Singleton Pattern
Abstract Factory Pattern
Factory Method Pattern
Decorator Pattern
Observer Pattern
Strategy Pattern
Design Patterns
Home
❯
Pattern Blogs
Pattern Blogs
1 min read
Best Practices
Quiz 2
Compound Pattern
Definition
Real World Analogy
Design
Implementation in Java
Real World Analogy - 2 (MVC)
Real World Example
Design Principles:
Proxy Pattern
Definition
Real-World Analogy
How This Works
Java RMI
Design
Implementation in Java
Registering with the RMI Registry
Creating the Monitor (Client-Side Proxy)
Creating the Client (RMI Stub User)
Implementation in Java – 2
Types of Proxy
Remote Proxy:
Virtual Proxy:
Protection Proxy:
Cache Proxy:
Real-World Examples
Design Principles:
State Pattern
Definition
Real World Analogy
Design
Implementation in Java
Real World Examples
Design Principles:
Composite Pattern
Definition
Real World Analogy
Design
Implementation in Java
Real World Example
Design Principles:
Glossary
1. Strategy Pattern:
2. Observer Pattern:
3. Decorator Pattern:
4. Factory Method Pattern
5. Abstract Factory Pattern
6. Singleton Pattern
7. Command Pattern
8. Adapter Pattern
9. Facade Pattern
10. Iterator Pattern
11. Composite Pattern
12. State Pattern
13. Proxy Pattern
14. Compound Pattern
Iterator Pattern
Definition
Real World Analogy
Design
Implementation in Java
Real World Example
Design Principles:
Template Method Pattern
Definition
Real World Analogy
Design
Implementation in Java
Real World Example
Design Principles:
Quiz 1
Facade Pattern
Definition
Real World Analogy
Design
Implementation in Java
Design Principles:
Adapter Pattern
Definition
Real World Analogy
Design
Implementation In Java
Class Adapter
Real World Example
Design Principles:
Command Pattern
Definition
Real-World Analogy
Design
Implementation in Java
Real-World Uses
Design Principles:
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: