What design pattern to use for the client API?

So, I have a remote API specification that I am going to use to create a set of classes for communicating with this API in my application.

Are there any design patterns that I should pay attention to when developing these classes that will act as an API client?

+4
source share
2 answers

In addition to the Data Facility , view the Remote Facade , which

Provides a coarse-grained facade on fine-grained objects to enhance network efficiency.

+4
source

You want to start with Data Transfer Objects for sending and receiving data, but since a useful answer requires additional information, I will keep this in this.

+2
source

Source: https://habr.com/ru/post/1381312/


All Articles