Reputation: 83697
So I got a remote API specification which I am going to use to create a set of classes to communicate with this API in my application.
Are there any design patters I should take a look at when designing these classes which will act as the API's client?
Upvotes: 5
Views: 3985
Reputation: 316969
In addition to Data Transfer Object, have a look at Remote Facade which
Provides a coarse-grained facade on fine-grained objects to improve efficiency over a network.
Upvotes: 5
Reputation: 151594
You'd want to start with Data Transfer Objects to send and receive data, but as more information is required for a useful answer I'll keep it to this.
Upvotes: 3