3 ms·
I think that config files should be simple to write DSLs, and not programming languages. For automation what is really needed is an API exported by Apache via s
by antirez 17y ago
I think that config files should be simple to write DSLs, and not programming languages. For automation what is really needed is an API exported by Apache via some kind of networking (a TCP socket could do the work) that allows to configure and change the behavior at run-time via a scripting language. This way you have the best of both the words.
- ciupicri 17y agoHave you looked at Augeas http://augeas.net http://augeas.net ? Augeas is: - An API provided by a C library - A command line tool to manipulate configuration from the shell (and shell scripts) - Language bindings to do the same from your favorite scripting language - Canonical tree representations of common configuration files - A domain-specific language to describe configuration file formats