lundi 27 mars 2017

Which design pattern suits the best?

I am developing an application that uses 5 different APIs (google, facebook, github, etc...) and my idea is before everything getting complicated to design the structure the best so it can be reusable and easier to extend later. I was thinking about abstract factory, but in this case I am going to have a singular instance of every API "module", as I am not going to create multiple object of a single API client. How would you design a small python / php programm which uses 5 example APIs, so that it is easier to extend and reuse later? I think I am missing some main stuff, so I hope somebody helps me out here

Aucun commentaire:

Enregistrer un commentaire