News for hackers. Stuff that matters.
Re:Ask HN: Server-side Lua? by brickcap on Tuesday April 14, 2015 @11:24PM (#9378742)
I've been working with openresty (ngx+lua) for a few months now and I love it. If you know nginx you can get started with it in a couple of days.

The idea behind it is simple. It introduces a set of directives that allow you to execute lua code. Some of these directives are completely new while others are meant to compliment nginx's native directives. Eg:

the `access_by_lua` directives is meant to execute lua code after nginx's access phase handler. Where as `content_by_lua` has no nginx equivalent.

I haven't used the MVC frameworks built with openresty myself but that was only due to lack of research on my part! I wish I had taken time to see what options were available.

There are no comments on this comment yet.