Development Tools

Sailor – Lua MVC web framework

Sailor is a Lua MVC web framework.

It is compatible with Apache with mod_lua or mod_pLua, Nginx with ngx_lua, Lwan, Lighttpd with mod_magnet, or any CGI-enabled web server, like Civetweb, Mongoose and Xavante, if CGILua is present.

This is free and open source software.

Key Features

  • Compatible with Lua 5.1, Lua 5.2 and LuaJIT. (5.3 compatibility so far untested).
  • Luarocks setup.
  • Runs over Apache2 (with mod_lua), NginX (openresty), Mongoose, Lighttpd, Xavante and Lwan web servers.
  • Using Windows, Mac or Linux systems.
  • Compatible with MySQL, PostgreSQL, SQLite and other databases supported by the luasql library.
  • MVC structure.
  • Parsing of Lua pages.
  • Routing.
  • Basic Object-relational mapping.
  • Validation.
  • Transactions.
  • App comes already shipped with Bootstrap.
  • Include, redirect.
  • Sessions, cookies.
  • Login module.
  • Easy deployment (unix only) -> sailor create “app name” /dir/to/app.
  • Form generation.
  • Lua at client (possible through a Lua=>JS virtual machine deployed with the app).
  • Friendly urls.
  • Inspect function for better debugging => similar to a var dump.
  • Custom 404 pages.
  • Relations.
  • Model generation (reading from DB).
  • CRUD generation (reading from model).
  • Theme and layout (now you can have multiple layouts within a theme. e.g. 1-column and 2-column).
  • Integration with Busted for unit and functional tests for your app.

Website: github.com/sailorproject/sailor
Support:
Developer: Etiene Dalcol
License: MIT License

Sailor is written in Lua. Learn Lua with our recommended free books and free tutorials.


Related Software

Lua Web Frameworks
OpenRestyTurns Nginx into a Full-Fledged Scriptable Web Platform
LapisWeb framework for Lua/MoonScript supporting OpenResty or http.server
FullmoonFast and minimalistic web framework based on Redbean
TurboFramework built for LuaJIT 2
LuvitNode.JS for the Lua Inventor
VanillaOpenResty Lua MVC web framework
LostyFunctional-style web framework for OpenResty
SailorLua MVC web framework
OrbitMVC web framework for Lua

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted