Architecture & LLD Preview
Proxy Pattern
Provide a surrogate or placeholder for another object to control access to it. It’s like having a representative act on behalf of the real object.
Proxy pattern provides a surrogate or placeholder for another object to control access to it, allowing for lazy loading, logging, or access control.
Core Design Challenge
"How do we control access to an expensive or sensitive object without modifying its code?"
What You'll Learn:
- ✦Providing a surrogate or placeholder to control object access
- ✦Implementing access control, validation, and logging at one door
- ✦Enabling lazy loading and caching of expensive operations
- ✦Standing in for remote objects or local service wrappers