2/12/14

Working on putting pima online so I can access it from my phone. Discovered the Dropbox API, which is accessible from JavaScript — this is very cool — I think it will allow a number of things I've had in mind that require storing data, but I've been worried that people won't trust storing their data with me, since my server might die.

Current issue with Dropbox API is concurrency.. in general I probably won't modify pima from my computer and phone simultaneously, but if I did, I wouldn't want to risk losing any data.. but I'm not sure how to do it elegantly. I'm currently creating a lock file, and the whole operation requires about 6 ajax calls when it should be about 1 or 2..

No comments:

Post a Comment