Re:Should Apache replace its current httpd.conf with Lua?
by compay on Thursday September 10, 2009 @11:57AM
(#815485)
"well... the XML approach was in fact proposed in the linked thread."
Yes, but, my point was that I see it as very unlikely to be adopted.
"The documentation is quite perfect already"
Sure it's well-written but "perfect" may be a stretch. Having a more consistent syntax would allow the documentation to be much more terse.
The current documentation reads like a manual, which is great. What's being proposed would mean that the documentation could be presented as a manual, AND as an API.
"The only point I'm willing to hand you is the validation argument"
I think you should hand me "automation" as well. :-) Writing a tool that interprets a Lua config file would be trivial. Writing a tool that interprets the current Apache config is not.
Anyway I'm not really advocating this change. I simply find the proposal interesting because I do a lot of programming with Lua and it's nice to see it get some high-level recognition.
Yes, but, my point was that I see it as very unlikely to be adopted.
"The documentation is quite perfect already"
Sure it's well-written but "perfect" may be a stretch. Having a more consistent syntax would allow the documentation to be much more terse.
The current documentation reads like a manual, which is great. What's being proposed would mean that the documentation could be presented as a manual, AND as an API.
"The only point I'm willing to hand you is the validation argument"
I think you should hand me "automation" as well. :-) Writing a tool that interprets a Lua config file would be trivial. Writing a tool that interprets the current Apache config is not.
Anyway I'm not really advocating this change. I simply find the proposal interesting because I do a lot of programming with Lua and it's nice to see it get some high-level recognition.