Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've read a lot of "one true way" in this discussion. Do we need programmable configuration? Depends on the requirements really.

Django seems to work ok with Python configuration. I haven't seen found much logic happen in the projects I've used. But the user is the developer not an end-user. So security is not an issue from this angle.

I'm of the opinion that a simple config format like .ini is best for the end-user of a small application, while a validated schema (with code if needed) is best for a large one. To that end I'm currently experimenting with tconf to bring together those approaches under one package: https://github.com/mixmastamyk/tconf



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: