On Thu, 25 Sep 2008, Jeff Hodges wrote:
> peter retief wrote:
> > What is the suggested means to add data persistence to shoes?
> >
> > I thought that yaml would be a good start
> >
> > reading:
> > data = open("data.yml").readlines
> > writing:
> > open('datafile.yml', 'w'){|f| f.puts YAML.dump(data)}
> >
> > Any advice? Pointers? Treasure maps?
> >
> > Something simple
>
> SQLite3, which is already provided and required in. :)
A quick blunder round the web site doesn't suggest that the data would
be human readable, but I've not really looked at SQLite before. Are ther
shoes examples out there? It might be a useful think to know better,
and "zero config" sounds good in places where I would dream of setting
up mysql.
> --
> Jeff
>
Hugh