eee-c / ice-code-editor

Combination code editor (ACE) and Preview for quick feedback prototyping
Other
117 stars 31 forks source link

How should ICE work with shared computers? #92

Open eee-c opened 9 years ago

eee-c commented 9 years ago

There are no backend accounts in which to save data, it's all saved in the browser. But how can ICE work in a classroom with a bunch of shared computers?

Email the export and then delete all projects? Recommend that kids use Chrome profiles? (not sure that helps much) Offer a server for saving?

influx6 commented 9 years ago

Through a db,a real time layered db, eg mydb by Rauch Guillermo, combines mongo and redis to create a dbstore,able to notify all clients of changes, use a db server that does these, Internet shouldn't be a problem or setup a local server,though that requires physical presence and not really strategix. Create a db server that can notify all clients of changes,eg added images,texture, and that allows ur clients sync well with each other, mydb is on github, its one of the things that made Cloudup a awesome service Cloudup: cloudup.comMydb: ‎https://github.com/cloudup/mydb

ghost commented 9 years ago

My copy of your book arrived yesterday, and I'm very impressed with it. Congratulations :)

My intent was to use this book to guide a group of kids in a shared computer environment (community center, after-school program sort of deal), so this issue was on my mind. Tentative plan had been to make a greasemonkey script that 1) overrides the current menu with something that lets them declare/choose a user, and 2) uses a js-github library (https://github.com/k33g/gh3 ?) to push changes to a repo that I set up for the club. Tangentially, I'm also interested in 'upgrading' the download button so that it bundles everything that's required to run offline.

I'm at least a couple of weeks away from getting a chance to try this, but I'm interested in any feedback you have on the approach. I was certainly pleased to learn that the project is open source and collaboration friendly.

eee-c commented 9 years ago

@cmkcmk Thanks for the input (and for the purchase)!

For multi-user, I have been suggesting Chrome profiles. They may not fit your particular use-case, but they have come in handy for others.

Using GitHub as a backend has its appeal. I could definitely see integrating that directly into ICE to solve problems in this area. Maybe something along the lines of.. if you have entered a GitHub account, then changes are automatically saved to a gamingjs project associated with that account.

FWIW the ICE that is at http://gamingjs.com/ice is offline-first (ICE and the associated 3D libraries are all stored in appcache).