- Organize applications using Lapis's class-based API and declarative controllers.
- Use `app:match` for routing and handle distinct HTTP methods cleanly.
- Prefer MoonScript for cleaner syntax, but ensure generated Lua is performant.
- Leverage OpenResty capabilities under the hood for asynchronous non-blocking I/O.
- Structure views securely, avoiding raw string concatenation to prevent XSS.
- Use Lapis Model layer (`lapis.db.model`) for querying logic rather than raw SQL strings.