[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [Announce] Perihelion
- From: "Aaron B." <aaron@...>
- Date: Mon, 14 Aug 2017 23:26:13 -0400
I'm happy to make a first public release of my Lua web framework,
Perihelion.
While similar to Orbit, it is a new framework written from scratch.
Notably it uses a syntax hack for routing URL's to function calls. A
basic "hello world" application looks like this:
local function index( web )
return web:ok( "<html><body>Hello, World!</body></html>" )
end
app:get "/index" { index }
Perihelion runs under Lua 5.1 or newer, needs to no external
dependancies, and meets the WSAPI specification to interface to web
servers.
It is available on Luarocks, and well as it's website - which also has
the beginnings of documentation and more examples:
https://zadzmo.org/code/perihelion
--
Aaron B. <aaron@zadzmo.org>