Javascript Design Patterns #6 - Proxy Pattern

Опубликовано: 15 Ноябрь 2019
на канале: DevSage
28,946
783

What is a proxy object?
A proxy object is an object that acts as an interface (or placeholder) for something else. The proxy could be an interface to anything: an API, a network connection, a large object in memory, or some other resource that is expensive or impossible to duplicate.

A proxy is a 'stand-in' object that is used to access the 'real' object behind the scenes. In the proxy, extra functionality can be provided, for example caching when operations on the real object are resource intensive, or checking preconditions before operations on the real object are invoked.


📚Materials/References:

GitHub Code: https://github.com/pkellz/devsage/blo...
"Design Patterns Explained Simply" Ebook: https://payhip.com/b/MLtJ

🌎 Find Me Here:

Twitter:   / realdevsage  
Ebooks: https://payhip.com/devsage
Discord:   / discord  
Merch: https://cottonbureau.com/people/devsage


Смотрите видео Javascript Design Patterns #6 - Proxy Pattern онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал DevSage 15 Ноябрь 2019. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 28,946 раз и оно понравилось 783 посетителям.