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

publishing use cases for persistent storage for bundles #498

Open
dauwhe opened this issue Sep 18, 2019 · 1 comment
Open

publishing use cases for persistent storage for bundles #498

dauwhe opened this issue Sep 18, 2019 · 1 comment

Comments

@dauwhe
Copy link

dauwhe commented Sep 18, 2019

We hope that bundles (most likely unsigned?) would be used for distributing publications, such as ebooks. We do hope that some sort of persistent storage would be available on the user's device. Here's a list of a few use cases, created by @jaypanoz:

  • storing a list of quizzes/games which have already been done so that it doesn’t reset every time you open the publication;
  • storing a list of values for a checklist so that you can automatically save the progress;
  • saving a drawing in a canvas – although this is a little bit of a hack as it can only store strings and you must base64-encode it on the fly… but when you’ve got nothing else, it does the job;
  • saving the current position in an overflowing element since mishandling can happen (turning the page accidentally, which loads a new resource and resets the state of the current one);
  • saving the origin of a redirection to easily get back to the previous page if needed – yeah I know there’s a “previous button” in the bottom left corner but sometimes it takes years for users to discover it;
  • more generally saving any information you’ll retrieve later, which can go from practical things like the examples above, to technical things like storing the results of a feature detect requiring to create an element, test its styles and remove it, which will cause a repaint (there are obviously different strategies to deal with upgrades or invalidate those results whenever needed there).
@elliotl
Copy link

elliotl commented Jun 11, 2020

I am also interested in using bundles as a publishing mechanism for distributing animations created with a Paint program that I wrote. The program currently supports the export of animations as simple web pages animated with webGL. Unfortunately, most of my users do not own domains, so copying a web page up to the web is not really feasible. I am hoping that running a web bundle stored on the local file system would provide a way for my users to share animations. An example of an exported animation from my Paint program can be found at https://www.torpor.com/webgl/Hal/index.html .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants