psema4 / Atomic-OS

Atomic OS: A self-contained microsystem & JavaScript RIA/SPA library.
https://psema4.github.io/Atomic-OS/index.html
MIT License
23 stars 3 forks source link

Implement Local VFS #1

Open psema4 opened 13 years ago

psema4 commented 13 years ago

Implement a Virtual File System.

Files should be implemented as JavaScript objects that can be serialized directly to JSON. VFS should be capable of reading from and writing to DIV's within the ACD document.

The VFS needs to be able to store it's representation within the ACD document using a similar strategy to that of TiddlyWiki.

DanBUK commented 12 years ago

I'm not sure how you are going to achieve saving of the DIVs. Surly are more appropriate route for current times would be to use LocalStorage from HTML5. And then enable some Backup functionality to allow the user to export it all out.

(Unless you go the Java Applet route that TiddlyWiki does, which I do think is evil ;) )

psema4 commented 12 years ago

I would like to support localStorage and other engines for persistence (eg server/cloud); this is the primary reason I want to use a VFS. Additional fs drivers can be mounted and used transparently.