rufuspollock-okfn / dataexplorer

View, visualize, clean and process data in the browser.
http://explorer.okfnlabs.org
148 stars 47 forks source link

[super] Persistence of projects and their associated materials #53

Closed rufuspollock closed 11 years ago

rufuspollock commented 11 years ago

Note there is a distinction (probably) between:

  1. Persisting Data Explorer config + list of projects + other user specific info (e.g. github login token) - #51
  2. Persisting individual projects

We are focusing on the second item here: persisting a given project

Why

Why do we want persistence?

There are several aspects

  1. What we persist
  2. How we serialize
  3. Where we persist to (i.e. beyond memory)

    What we persist

    • Project metadata
    • Scripts
    • Views
    • Data(sets)

Do we also need to support persisting intermediate changes so we can undo quickly?

How we serialize

Not sure we need to specify here but obviously stuff that can be represented as JSON or CSV (+ datapackage).

Where we persist to

We will likely persist to two places:

Notes:

We will focus on Gist persistence first as it gives us ability to share with others

Gist persistence

http://developer.github.com/v3/gists

How do we save structure of the project? Options:

Separate files

rufuspollock commented 11 years ago

Closing as nothing major left to do in the near term. Definitely need to think further about short-term versus long-term persistence but basic setup is now working.