4 ms·
> Unfortunately, due to some technical reasons, we had to discard [Lapis] and roll our own solution on top raw Openresty. Would appreciate if someone could poi
by srean 13y ago
> Unfortunately, due to some technical reasons, we had to discard [Lapis] and roll our own solution on top raw Openresty.
Would appreciate if someone could point out what the problem was. Keen on trying Lapis myself.
- otikik 13y agoThe 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.