What is a good method of persisting application properties?

前端 未结 8 1962
不思量自难忘°
不思量自难忘° 2021-01-05 09:43

I have a series of application properties which all have different types.

The types could include, booleans, dates, timestamps, or strings.

I need to be abl

相关标签:
8条回答
  • 2021-01-05 10:37

    You can use SQLite Firefox uses it to persist properties

    0 讨论(0)
  • 2021-01-05 10:40

    You can store them in your Database, however due to the difference in data types of your properties you'll have to store them in their String representation. You could use another column to specify maybe the data type.

    That form of application parametrization is something you've used successfully at my work. That's the general idea, I hope you could arrive to your solution with this.

    0 讨论(0)
提交回复
热议问题