4 ms·
Part of the problem though with saying SQLite instead of XML is a lot of things would lend themselves to XML in SQLite.
by jdboyd 1y ago
Part of the problem though with saying SQLite instead of XML is a lot of things would lend themselves to XML in SQLite.
- Ekaros 1y agoComplex features are inherently complex. Say you want external resources or some scripts in document. No matter what storage format you use those are more surfaces. Problem is not storage, but what is done with information. And very often that is a lot and poorly thought out and even more poorly implemented.
- thayne 1y agoBut most applications don't need those features. And if they do, that should be part of the application logic, with appropriate controls. Having your parsing library make arbitrary http requests is a bad idea.
- thayne 1y agoOh, I'm not saying sqlite is better than xml for data exchange. As mentioned in other comments, sqlite's security posture towards an untrusted database is problematic. My point is that xml has problems too.