K
K
kyrare2019-03-20 12:08:19
PHP
kyrare, 2019-03-20 12:08:19

Which design pattern to use for integrating with an external service?

The external service has authorization, adding / changing the n-th number of entities (user, order, etc.). The main task of the pattern is to get by with little bloodshed when replacing one external service with another when it needs to be replaced. Or the ability to switch between multiple external systems.
I will also be very grateful for sample projects on github. It seems to me that there are a lot of projects where one of several external systems is used, but nothing good has surfaced in memory.
The implementation will be in PHP.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2019-03-20
@kyrare

Decorator\Facade

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question