kaosat-dev / CoffeeSCad

DISCONTINUED ! Browser based 3D solid CAD editor, Openscad style, with a Coffeescript based syntax, using only Coffeescript + Javascript
MIT License
227 stars 53 forks source link

Add more flexible and evolved save/load system #6

Open kaosat-dev opened 11 years ago

kaosat-dev commented 11 years ago

Save to & load from:

kaosat-dev commented 11 years ago

For now, there will only be:

Gist (actually, github) and local file system support for storage will be added in future versions IF the issues associated with both of them can be solved in a nice and cross browser fashion

jwygralak67 commented 11 years ago

Aren't the mechanics of downloading a file, to save it, and PUTing a file to load it reasonably generic?

Perhaps not, since you're dealing with a client-side memory resident object rather than a server side file.

kaosat-dev commented 11 years ago

Jim, unfortunately that is not the case : as you say it yourself: for now this is all purely client side, so it is somewhat limiting what I can / cannot do. The various authentication systems in different cloud based storage systems also don't always help.

I will very likely have a small optional back end (python or nodejs) that people can install (hint, on their Raspberry Pi for example :) to serve files more easily.

daprice commented 11 years ago

What about using the remoteStorage protocol from http://remotestorage.io? It allows saving to any server that supports it (ideally one's own personal server) from client side.

kaosat-dev commented 11 years ago

Hello Daprice ! Sorry for the late reply. Remotestorage actually seems really nice ! I have looked at the docs and the various examples they provide , and it seems promising! I'll experiment with their js bindings in a bit to see if there are any obvious shortcomings. Do you use it personally?

zignig commented 11 years ago

Going to be looking into couchdb

kaosat-dev commented 11 years ago

Zignig : great ! Please le me know if you need clarification on anything in the "stores" system : it is in a bad need of cleanup and refactoring so anything I can do to make things simpler just let me know.

korpx commented 10 years ago

+1 for local file system