Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor storage system #118

Open
kaosat-dev opened this issue May 20, 2013 · 0 comments
Open

Refactor storage system #118

kaosat-dev opened this issue May 20, 2013 · 0 comments

Comments

@kaosat-dev
Copy link
Owner

Right now it is full of hacks, dirty and unwieldy:
Some thoughts on the necessary improvements:

  • seperate stores (high level api) from file systems (low level file and folder manipulation)
  • stores should be able to use any number of fs (ie for example cache remote data in local storage etc)
  • stores and /or fs need to be part of the kernel, not the ui/app (view independant)
  • the way fs interact with the pre processor (kernel) needs to be reviewed : must NOT depend on any backbone marionnete application level communications : ideally a simple array of available stores/fs could be passed in to the preprocessor (this has been tested , seems to work fine, but code not yet migrated)

Following stores/fs are needed:

  • dropbox (clean up of current): add caching to local storage
  • browser/local storage (cleanup of current)
  • ajax fs : retrieve files (read only) by url
  • node fs : needed for desktop app (node-webkit)
  • couch db ? see with Simon Kirkby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant