Storage

The initial implementation of the Data Store will use a directory-based layout to allow easy debugging during initial development. In this initial storage design everything will be sorted into subdirectories under one Data Store ``repository" directory. Each directory under the repository directory will represent one data item:
  1. The name of the subdirectory would be the items unique ID/number
  2. The sample images would be stored as files inside this directory with a name like ``sample-000.png"
  3. Plain Text data would go in a file like ``data.ini" which would have a key-value structure.
The implementation could also store anything it needs to remember inside its own data files directly inside the repository directory. How this is done (if it is done at all) is up to the implementation.

At a later date this could be serialized into a single file inside the repository directory instead.



David Goodwin 2008-10-21