The uses of proxies

There are several uses of proxies. Here are some main use cases:

  • Creating virtualized objects, such as remote objects, persistent objects, and more
  • The lazy creation of objects
  • Transparent logging, tracing, profiling, and more
  • Embedded domain specific languages
  • Generically interposing abstractions in order to enforce the access control
    The uses of proxies

Get React: Building Modern Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.