Project Elbow: Storing Metadata Along with File

Woke up at 2:30, so decided to do some Elbow.

Decided I needed a more spread out directory structure for the cache files.  I could probably look up the most efficient way to do this, cross-platform, or by using some AIR facility, but 26 top level directories each leading to 26 second level directories is just fine for me.  We’re not talking about a huge number of files.

I also decided I needed to keep the meta data for the file somewhere else than in the SQL database.  I might not even use the SQL database to track the files.   I could store the use data in the meta file, or just touch the meta file.  I should check whether or not “touching” works cross platform in AIR.  I bet it does.

Anyway, it’s nearly 4:30 now.  Have to leave for work at 7:00.  Going to try to sleep more.

Cheers, mate.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.