bebraw / Harmony-Brushes

Harmony+rhyolight's brushes+own modifs (mirror, constraints)
MIT License
9 stars 1 forks source link

Make it possible to store/restore brush sets (for offline usage too!) #13

Open bebraw opened 14 years ago

bebraw commented 14 years ago

Possible solutions to quote myself:

There are a couple of ways to handle persistency I can think of:

  1. localStorage (as you mentioned)
  2. cookie (max limit 4KB or so)
  3. output in JSON, YAML or some other format and provide means to load the file
  4. store data on the server side

I suppose it might be interesting to fiddle with cookies to see how that plays out. At some point the size constraint is going to be an issue but I guess for now it just might do it.