17

这在某种程度上适用于所有云存储,但我特别想知道:

使用 Google Drive 作为根开发文件夹是否可行?

例如像这样的设置:

C:\Google Drive
       \Projects\...
       \Photos\...
       \Docs\...

我什至需要有本地副本还是这种类型的服务足够稳定,可以用作“工作区”

我担心的是,如果我使用 IDE 或一次处理很多事情,在我操作文件时会导致明显的延迟或带宽问题吗?

如果这不切实际,那么在云存储被如此广泛使用的情况下,这种类型的基础设施是否有“最佳实践”?

请注意,从程序员的角度来看,我对答案很感兴趣

4

3 回答 3

16

This was my first thought when Google released Drive. I've been running eclipse using a Google Drive folder as the workspace for a few days now. I do mostly JavaScript and PHP.

The beauty of Google Drive is that it does all the work behind the scenes. I've manipulated folders, imported projects, deleted folders and there is no issue client side. It makes no difference whatsoever to eclipse. It just takes a minute or so and the changes are reflected on Google Drive.

That being said I can save a single file as I work and there is no noticeable lag between save and sync. I can't physically see it anyways. I also agree that revision control should be combined with this as Google Drive's revision system is a bit limited, it only works for Docs formats.

Save often and let your computer sync for a few minutes at the end of the day and you should have no trouble using Google Drive as your workspace. The System Tray Icon tells you sync progress so it's easy to see when it's done.

于 2012-04-29T14:40:21.957 回答
5

Yes, you can safely put your workspace folder in Google Drive and as a bonus you will be able to make quick edits using an online IDE, e.g. ShiftEdit, Drive Notepad or Neutron Drive.

于 2012-12-09T13:47:54.883 回答
1

这会起作用,但你最好的选择可能是修订控制。您当然可以将两者结合起来,在您的 Google Drive 上创建一个修订后的目录,这将非常酷。

于 2012-04-25T15:19:56.580 回答