Best Design pattern for social media file transfer
        Posted  
        
            by Onema
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Onema
        
        
        
        Published on 2010-03-31T16:44:09Z
        Indexed on 
            2010/04/01
            5:53 UTC
        
        
        Read the original article
        Hit count: 432
        
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?
© Stack Overflow or respective owner