Open SXPanda opened 5 years ago
Since Z drive should work with any cloud storage solution it needs to be developed without any specific references to any of them as much as possible. I envision it working like this
Cloud::$driver->list(); Cloud::$driver->download($file_path); Cloud::$driver->upload($file_path, $contents);
Where Cloud::$driver links to a class specified by the user's config
The API access points the client will use also need to be ambiguous
/zdrive/cloud/list/ /zdrive/cloud/download/ /zdrive/cloud/upload/
Since Z drive should work with any cloud storage solution it needs to be developed without any specific references to any of them as much as possible. I envision it working like this
Where Cloud::$driver links to a class specified by the user's config