2 ms·
It shouldn't be that hard to configure some other language to fill the ridiculously-easy-to-use niche that PHP fills. I vote for Lua, personally, though almost
by andrewflnr 15y ago
It shouldn't be that hard to configure some other language to fill the ridiculously-easy-to-use niche that PHP fills. I vote for Lua, personally, though almost anything would do.
Embed in HTML, wire stdout to the web page. Add a couple functions for "first class HTTP support". Write an Apache module. You could probably make it even easier to deploy than PHP, with the benefit of a nicer language. Obviously I'm oversimplifying, but it's mainly glue code. Seems like the hardest part is getting it deployed on the $5/month hosts.
Is there some obvious reason it hasn't been done? Did they already and nobody cared? If I didn't already have a massive project backlog I might take a shot at it. It seems like a good opportunity for someone to make a difference.
Edit: Crud, they already took the name mod_lua: http://httpd.apache.org/docs/2.3/mod/mod_lua.html http://httpd.apache.org/docs/2.3/mod/mod_lua.html