Applications sometimes want to save a little tidbit of information. A
little customization perhaps, highscores why not?. Lets have a
'cookies' hash? When the shoes app is closed, the cookie hash is
marshaled, maybe in to yaml, and stored in a file, in wherever the
appropriate place is on that platform... ~/.shoes/appname perhaps on
unixes, ~/Library/Preferences perhaps on Mac OS, and I guess Documents
and Settings sounds like the kind of place where you put that stuff in
windows... It would of course reload in to the hash when the app is
reopened. Can I get a yay or neigh on the idea?
Sure, we could use an sqlite db.. but that's so boring and more
importantly, annoying if all you want to do is remember some little
bit of information. Remembering stuff shouldn't require CREATE TABLE
to be done in advanced, and sql db's suck for heirachiel structures
(like the kind ruby and shoes are full of)
Final thought: On Mac Shoes, it'd be rather cool to store the settings
in a resource fork, but given the trouble this would cause with
running apps off FAT external drives and the dangers of potentially
sharing a shoes app with someone, unknowing of the attached personal
settings, so I guess it's not such a cool idea in the real world.. oh
well.
- Idea: Cookies hash Bluebie, Jenna
-