21.11.2013, 15:57
Quote:
This should really read "Just use MySQL/SQLite" to me the difference between INI and MySQL/SQLite is a cheap wine compared to an expensive wine. It just feels like INI these days is something I used when I didn't know any better
|
EDIT: Although, this is solely a tutorial about how awful the dini library is, I'll add a SQL section just for the sake of completing the tutorial.
I'll also link to Konstantinos' SQLite tutorial and a threaded MySQL tutorial so I don't have to write a whole section about it.
Quote:
What if the file used for reading is real huge? Won't that double the space if .part were to be there?
|
dini just opens the original file and writes the contents into the .part file. The original file is then deleted and the .part file is renamed to the original file's name.