lapis
lapis copied to clipboard
A web framework for Lua and OpenResty written in MoonScript
Postgres supports publish-subscribe feature. One client listens on a channel (provided as a string), while another (or same) client send a notification. It can be used to send notifications accross...
I tried to create universal select function with grouping, ordering and where conditionning
This change adds a config flag to disable reading the request body. It is turned `on` by default, so the default behavior doesn't change. Not reading the request body is...
Any time I restart the lapis server, cache.delete_path works for a good 30 minutes at most. But after that, it just seems to stop working. Basically, I'm caching a JSON...
http://leafo.net/lapis/reference/html_generation.html dont have a lua documantion.
http://leafo.net/lapis/reference/models.html#relations/polymorphic-belongs-to It's not 100% clear to me how it is supposed to work because it appears there are multiple examples at once? First a `Purchases` model is described associated with...
At openresty documentation it's written: https://openresty.org/en/using-luarocks.html > WARNING! Use of LuaRocks with OpenResty is strongly discouraged since OpenResty provides its own package manager, OPM. ``` % sudo opm install lapis...
Is there a way to leverage content_for in an etlua template the same way I would in a lapis Widget? For example, in a lapis widget I would do something...
I'm unable to connect to a mysql database in Lapis or while attempting a migration. ``` LuaSQL: error connecting to database. MySQL: Access denied for user 'root'@'localhost' (using password: YES)...
The framework does have indeed a good documentation, but... I mean, it's really hard to get used to it, even after reading the documentation. Even better than guides, simple examples...