AThilenius / scorchforge

The private rebuild of the Scorch project
0 stars 0 forks source link

Need a better metadata system #3

Closed AThilenius closed 8 years ago

AThilenius commented 8 years ago

A 'Project' has many 'File's. But there is no clean way of storing something like a file tree (with potentially empty directories) in the file models. Thus we need to store that data in the project, as something like a tree structure. Each entry in that metadata needs to be linked at runtime to the actual model (in this case the file model). It's hand coded right now but needs to be generalized.

Non-formal proposal: https://docs.google.com/presentation/d/1acbMLVZlB0fYvaBo-ITAyC2FfXSz-fIl-3MYk1cXOnY/edit?usp=sharing