3 ms·
2. Wow I didn't know that HN did that! I have never really considered using text files as long term storage outside of some very questionable things I had to im
by ImPleadThe5th 4y ago
2. Wow I didn't know that HN did that! I have never really considered using text files as long term storage outside of some very questionable things I had to implement at financial institutions for some ancient FTP/UserManagement stuff.
Do you store in plain text or do you simply use CSVs and treat them like a database?
Do you find that the repository pattern helps mitigate the issue with long-term DB deprecation? You could backup your databases as CSV files, and then load those into any DB server later. Your repository layer should allow you to use whatever DB tooling is fancy at the time and the CSV backups would be around for longevity?