lundi 15 janvier 2018

Facade pattern to develop pull interface

We are building a system which interface with different vendors for pulling catalog related information. The rest interface will be provided by the vendors, each vendor may have different interface. The requirement here is to follow the facade pattern and implement a pulling mechanism which is easily adaptable for a new vendors. I am a little confused how to implement a facade pattern here because all vendors can follow different standards, oneway to do it write a translator adapter for each vendor, this framework will convert all the response into a common format.

Could you please suggest better method to achieve facade pattern for pulling interface(we will always pull from Vendor, vendor will never push data to us)?

Aucun commentaire:

Enregistrer un commentaire