I have been using the Lua programming language for all types of scripts since some time, and I want to stay with it (is it my sixt language or something else). But I cannot find a solution to make very simple lua web applications that are very frustrating.
I tried WSAPI, Orbit, mongrel2 and try to make a simple and understandable system to serve a very simple LGA CGI, but I failed, it always gets into a system with many dependencies, rather than portable ones, and are interspersed with many files and distributions and subscriptions. .. I even tried to modify nanoki, the same result. Of course, I learned something, but I was at the same time when I started. Lua does not seem to be welcome in the field of web development.
In django or web2py or php, I can make simple applications in three minutes. But I'm blowing up a simple script / functionality with dozens of files. Or should I use a language that I hate moderately (php).
I need something that stays in my way, like web.py or cherrypy or pow for ruby, but in lua.
I compiled haserl, but I don’t know how to use it, since it lacks documentation (a common problem in the lua world, unfortunately). mod_lua / apache, may be fine, but I did not find the page on all the internet using some examples. The same goes for mod_magnet in lighttpd and nginx + lua.
I'm starting to feel upset. I don’t need servers with fast speed on the millionth user website, I need to serve simple dynamic lua content over LAN. I don’t think what to demand from a rocket scientist ...
So what will you do? Is there somewhere a minimal simple web server that supports standard cgi in lua? Something plug and play, and let us and you focus on what the script does, and not how to make simple things absurdly complex in evil ways?
PS: My environments are Linux.