Skip to content

KishorNaik/Sol_Proxy_Pattern_Typescript

Repository files navigation

Proxy Pattern

The Proxy Pattern is a structural design pattern that provides an object representing another object. The proxy controls access to the original object, allowing for additional functionality before or after the request is forwarded to the original object. This can be useful in scenarios where you want to add a layer of control or optimization without modifying the original object's code.

Benefits

  • Control Access: You can control access to an object without modifying its code.

  • Lazy Initialization: Objects that are resource-intensive to create can be loaded only when they are needed.

  • Security: Proxies can help in implementing access control and security checks.

About

example of Proxy Pattern in Typescript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published