JavaScript API Proxy Pattern

JavaScript API Proxy Pattern

The presentation describes what is API proxy pattern, the problem it solves and how to implement it. It also showcases how it makes testing easier and the future of ES6 Proxies.

Allan Chua

March 13, 2019

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

14 slides
  1. • What is Proxy Design Pattern • Problems it solves

    • How to implement • How to improve • How it makes testing easy • The Future Agenda
  2. • Provide a surrogate or placeholder for another object to

    control access to it. • Use an extra level of indirection to support distributed, controlled, or intelligent access. • Add a wrapper and delegation to protect the real component from undue complexity. What is Proxy Pattern
  3. Why its perfect for API Calls API Consumer Proxy Encapsulates

    protocol and framework used to call API

More Decks by Allan Chua

Other Decks in Technology