lapis
lapis copied to clipboard
A web framework for Lua and OpenResty written in MoonScript
Hi guys, i found an example with file upload. But i have no idea how to implement file download. I want to check some request in my app.lua script and...
Here's the paragraph > fetch relations can also provide a preloader to allow for the data to be loaded over an array of objects. **The preloader function recieves as arguments:...
Fix fn.dict which should be fn.dict_name Add host to cache key name for multi-tenants applications
```lua local get_columns = { fields = "id, email, name" } local id = 5 -- works local user = self:find_all({id}, get_columns) -- wish it worked :( local user =...
I want to use both entity tag headers *and* [Lapis' server-side cache](http://leafo.net/lapis/reference/utilities.html#caching). The latter for avoiding re-renders, the former for avoiding re-downloads. However, when using Lapis' page cache, I cannot...
(Related to #47) I think that this would be a neater approach for template generation, and it wouldn't be much work, using [lua-haml](https://github.com/norman/lua-haml). The implementation would consist of the `features/haml.moon`...
Hi! I'm writing a Lapis application without Moonscript, and wanted the benefits of subapplications in Lua. There are a few other issues on this topic, but they all suggest rather...
Write a tutorial creating a blog using Lapis and Postgres. Should cover: - Setting up project - Working with models - Creating migrations - Doing CSRF protection - [maybe] Create...
So I've been having this problem for a while now where I run `lapis build development` and start changing things, but the changes don't appear (as if code-cache wasn't enabled)....
This might be a feature that's better suited for the moonc compliler but I figured I'd start the discussion here and see where it went. I just started using lapis...