Lapis is a framework for building web applications in Lua (or MoonScript) that primarily targets OpenResty, a high-performance web platform that runs on a customized version of Nginx. Lapis can also be used in other server environments, being compatible with any modern version of Lua. With OpenResty, Lua is run directly inside of the Nginx worker using LuaJIT, giving you the smallest barrier between the webserver and your code. Have a look at Web Framework Benchmarks just to see how OpenResty stacks up against other platforms. Utilizing the power of Lua coroutines, you can write clean code that looks synchronous but can achieve high throughput by automatically running asynchronously without blocking. Networking operations like database queries and HTTP requests will automatically yield to allow for handling concurrent requests, all without all that callback spaghetti seen in other asynchronous platforms.

Features

  • Documentation available
  • Lapis includes URL routing, HTML Templating, CSRF Protection and Session support
  • Get a powerful abstraction layer over your database tables just by sub-classing Model
  • Write your templates either in etlua or in pure Lua/MoonScript
  • The Widget base class allows you to organize your templates as modules
  • The HTML builder syntax makes you immune to cross site scripting attacks from user-provided input by ensuring all written content is escaped correctly

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Lapis

Lapis Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Lapis!

Additional Project Details

Programming Language

Lua

Related Categories

Lua Frameworks

Registered

2024-07-16