Best Design pattern for social media file transfer
- by Onema
Our system would like our clients to link their accounts with different social media sites like youtube, vimeo, facebook, myspace and so on.
One of the benefits we would like to give to the user is to transfer, update and delete files they have uploaded to our sites and transfer them to the social media sites mentioned above. this files could be videos, images or audio.
We started thinking about using a strategy pattern, as all of these sites share a common process ( authentication, connection, use the API to transfer/edit/delete the file ), but we soon realized that it may not work as me may want to use some of the extended functionality that is specific to each service (eg: associate a youtube video with a channel, or upload images to a specific album on facebook, and much, much more...)
My question is, what would be the best Structural Design Patter to use for this scenario?