What is Dynamic Proxyβ
A proxy, in its most general form, is a class functioning as an interface to something else. βοΈ
The proxy could interface to anything :
β’ A network connection π
β’ A large object in memory π
β’ A file π
β’ Some other resource that is expensive or impossible to duplicate. πΈ
πΉπΈπΉπΈπΉπΈ
One way of thinking about proxies, is by the analogy to The Matrix πΆ by Krzysztof KoΕΊmic π€ :
A dynamic proxy is a proxy that is generated on the fly at runtime. β
https://t.me/pgimg/70
γ°γ°γ°γ°γ°γ°
#Proxy #DynamicProxy
@ProgrammingTip
A proxy, in its most general form, is a class functioning as an interface to something else. βοΈ
The proxy could interface to anything :
β’ A network connection π
β’ A large object in memory π
β’ A file π
β’ Some other resource that is expensive or impossible to duplicate. πΈ
πΉπΈπΉπΈπΉπΈ
One way of thinking about proxies, is by the analogy to The Matrix πΆ by Krzysztof KoΕΊmic π€ :
βPeople in the matrix arenβt the actual people ( βThe spoon does not existβ, rememberβ)
Theyβre proxies to the actual people that can beβ¦ wherever.π
They look like ones, they behave like ones, but at the same time, they are not them actually.π π»ββοΈ
Another implication is the fact that different rules apply to proxies.β³οΈ
Proxies can be what the proxied objects are, but they can be more (flying, running away from bullets, that kind of stuff).βοΈ
One more important thing, is that proxies ultimately delegate the behavior to the actual objects behind them (kind of like β βif youβre killed in the matrix, you die in the real life as wellββ οΈ).β
A dynamic proxy is a proxy that is generated on the fly at runtime. β
https://t.me/pgimg/70
γ°γ°γ°γ°γ°γ°
#Proxy #DynamicProxy
@ProgrammingTip
Telegram
Programming Tips Resources