BosonEditorExperimental icon indicating copy to clipboard operation
BosonEditorExperimental copied to clipboard

Proposal : backend adapters

Open gwenaelp opened this issue 9 years ago • 0 comments

Hello,

I just discovered Boson today, and I would like to post a code design proposal :

What about making the base application layer independant from the Node API, and but all the node API calls in an optional adapter, used by default?

With this done, it would open new ways to use Boson. It would be possible to use it with distant backends, by communicating with a web server to retreive and write files.

I would be glad to use Boson and to switch from a local folder to a distant one easily, and, to see event further, to use it from anywhere, via a standard browser.

It could be possible to imagine different backends :

  • Using Node, for local files
  • Using a distant web server
  • Using the localstorage to let the application be served from any static file server, and accessible from any browser, as a no-backend application.

gwenaelp avatar Jun 14 '15 13:06 gwenaelp