I am thinking when to use files instead of a database table for storage of data?
Example if you just have some backend settings, you could store them in a file..
Or is it best practise to have everthing in a DB?
I am using Rails as framework for my web applications.
如果您只是想设置一些要在应用程序中使用的设置,为什么不创建一个配置文件或初始化文件呢?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.