3 ms·
The main reason was that APItools is not a typical "web application" - it has a web frontend, but its most important part is an "intelligent proxy" - it does th
by otikik 13y ago
The main reason was that APItools is not a typical "web application" - it has a web frontend, but its most important part is an "intelligent proxy" - it does things like storing requests, changing them on-the-fly, and sending them to other places. We had to use some of nginx's more arcane tricks to get that part working.
Lapis had some abstractions on top of those parts, and we ended up "fighting" with Lapis more often than we wanted.
There's also the fact that we don't use postresql for persistence (we use redis), so we didn't get the advantage of using Lapis for the "Models" of our app.
Finally, and this is a minor thing, most of the existing doc is for using moonscript, not Lua, which was a bit of a bummer.
If you are planning to build a "conventional" web app on top of openresty, I think Lapis is the best tool out there at the moment.