0

I'm learning Openresty for a small web app. Is there an abstraction layer Lua web apps and frameworks? For example: Python/WSGI, Ruby/Rack, Elixir/Plug.

The most recent one I found for Lua seems out-of-date: APItools/lua-resty-rack

There is also WSAPI and WSAPI-Openresty, but I couldn't find any maintained middleware/projects that utilize it.

Do Openresty apps simply not use this type of abstraction layer for most production apps? Or is it not needed because of the Openresty architecture?

dgo.a
  • 2,634
  • 23
  • 35
  • OpenResty has offered api to access headers, request_path and other http relative information. Could you tell me the reason to add a middleware above it? – 罗泽轩 Oct 31 '16 at 06:37
  • I think what you are saying is: "it does not need it middleware because it already has a well-designed api". Which I agree with. So that answers my question. Thanks very much. – dgo.a Nov 17 '16 at 17:21

0 Answers0