3 ms·
No opinion one way or another about how Mongrel2 handles configuration, but are INI files really "the fad today"? Just strikes me as an odd insult for something
by telemachos 16y ago
No opinion one way or another about how Mongrel2 handles configuration, but are INI files really "the fad today"? Just strikes me as an odd insult for something so old. (I don't work with Python, so maybe that's the faddish part of all this?)
- maximilianburke 16y agoA technology doesn't have to be recent to still be applicable. INI files have been around a long time but they are a well understood mechanism for storing confuguration settings and have mature, well debugged, components for handling them. Not that I don't think that sqlite isn't mature but it seems like overkill for storing simple configuration settings.
- zedshaw 16y agoI usually find that when people request something weird, it's because they have a "special sauce" idea they want to implement and not tell me about. As for sqlite3 being overkill, go check out the code for loading the config with sqlite, and for just parsing the config in m2sh. Parsing is way harder and more overkill than just querying a db.
- telemachos 16y agoYou misunderstood my point (maybe my post was too short). I wasn't complaining that the INI format was too old. I just found it odd that Zed's post began by making broad jokes about fads and "the future" and then went on to talk about INI files. I didn't think INI-style configuration was a current fad - though now I wonder if it is among Python devs.
- tvon 16y agoYeah, I thought everyone was still all hot for yaml.