Skip to content

Commit 34fa464

Browse files
Updated the Index and added the Proxy Pattern Definition in the Glossary
1 parent 8df3ca1 commit 34fa464

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

content/Glossary.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@ The **Iterator Pattern** is a behavioral design pattern that provides a way to a
2828
The **Composite Pattern** is a structural design pattern that lets you compose objects into tree-like structures to represent part-whole hierarchies, allowing clients to treat individual objects and groups of objects uniformly.
2929
### 12. State Pattern
3030
The **State Pattern** is a behavioral design pattern that allows an object to change its behavior when its internal state changes. Instead of using large conditionals to determine behavior, the pattern encapsulates state-specific logic into separate classes.
31+
### 13. Proxy Pattern
32+
**Proxy Pattern** is a structural design pattern that provides a stand-in (proxy) object for another object, allowing you to control access to the original object. The proxy exposes the same interface as the real object and can add additional behavior, such as access control, lazy initialization, logging, caching, or remote communication, before or after delegating requests to the actual object.
3133

3234
_more Coming soon_

content/index.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@ created: 2025-02-07
77
**Design patterns** are typical solutions to commonly occurring problems in software design. They are like pre-made blueprints that you can customize to solve a recurring design problem in your code.
88
## Three Main Patterns
99

10-
- **Creational patterns** provide object creation mechanisms that increase flexibility and reuse of existing code. **Purpose**: How Objects are created. #creational
10+
- **Creational patterns** provide object creation mechanisms that increase flexibility and reuse of existing code.
11+
12+
**Purpose**: How Objects are created. #creational
1113
- **Structural patterns** explain how to assemble objects and classes into larger structures, while keeping these structures flexible and efficient. #structural
14+
1215
**Purpose:** Organize classes and objects to form bigger structures safely.
1316
- **Behavioral patterns** take care of effective communication and the assignment of responsibilities between objects. #behavioral
17+
1418
**Purpose:** How objects communicate and behave with each other.
1519

1620
> [!Important] Prerequisite
@@ -132,7 +136,8 @@ Consider an `SQLManager` class that performs CRUD operations. It has an `ILogger
132136
11. [[Iterator Pattern]]
133137
12. [[Composite Pattern]]
134138
13. [[State Pattern]]
135-
14. [[Glossary]]
139+
14. [[Proxy Pattern]]
140+
15. [[Glossary]]
136141

137142
---
138143
> [!Note]

0 commit comments

Comments
 (0)