开发者

What are the advantages of using SQLite (or any DBMS) over XML for a desktop application's configuration data?

开发者 https://www.devze.com 2023-02-07 09:57 出处:网络
What are the advantages of using SQLite (or any DBMS) over XML开发者_如何学C for a desktop application\'s configuration data?

What are the advantages of using SQLite (or any DBMS) over XML开发者_如何学C for a desktop application's configuration data? The configuration data shall be read once when the application is initialized and shall not be modified by application. The data may be manually modified once in a while.


XML is used as one of the ways of storing data. one of using xml is, it makes the data easy to be readable. you can use mysql if there are lot of users need the access to the data at the same time and mysql also supports transactional processing of data whereas xml does not have such features.

I have answered this as the question against MySQL.

Benefits or using XML over MySQL and vice-versa?


don't see an advantage at all, especially if the data is not modified by the application, and it must all be read at once when the application initializes. Are you in a bizarre situation where you have SQLite available, but no XML parser?

0

精彩评论

暂无评论...
验证码 换一张
取 消