Data Storage #97
-
|
Currently the Datastorage is part of the View Model. In general data storage is a model concern. I would like to open a discussion about data storage being migrated into the model. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
the SQL lite database adds a lot of complexity I don't love. I'd be interested in alternatives. I don't feel good about learning and reimplementing database manager into the model. I'm not absolutely opposed, but It give me bad feels. @HenryGeorgist could you lay out and briefly describe some alternatives? |
Beta Was this translation helpful? Give feedback.
-
|
no requirement says we shall use sqlite. I do not propose migration of the previous datamanager. The data is roughly some groupings of paired data and paired data uncertain with sparse attributes. I propose we store it in something simple, xml or json for instance. we can add an interface for data storage something like "public void Write(string writecontext)" where write context could represent a file path or an s3 key value pair. And "public void Read(string readcontext)" which we can change out our data model at any later date. |
Beta Was this translation helpful? Give feedback.
-
|
Is this something we'd need to do for product to be available for use in December? |
Beta Was this translation helpful? Give feedback.
-
|
we have been moving more and more data storage responsibilities to the model. I don't expect to have all data storage responsibilities owned by the model for 2.0, but for releases thereafter we can pursue 100% of relevant data storage owned by the model. |
Beta Was this translation helpful? Give feedback.
we have been moving more and more data storage responsibilities to the model. I don't expect to have all data storage responsibilities owned by the model for 2.0, but for releases thereafter we can pursue 100% of relevant data storage owned by the model.