[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lapis 1.0.0 - Lua web framework
- From: Pierre-Yves Gérardy <pygy79@...>
- Date: Tue, 17 Jun 2014 23:44:06 +0200
On Tue, Jun 17, 2014 at 11:26 PM, Javier Guerra Giraldez
> On Tue, Jun 17, 2014 at 3:55 PM, leaf corcoran <email@example.com> wrote:
>> The biggest feature of this new release is a proper Lua API. If
>> MoonScript isn't your thing you can now write entire applications
>> without touching a line of it.
> [...] also seems the OOP style is less obtrusive, or am i getting more tolerant?
The MoonScript API stil relies on its OO features.
lapis = require "lapis"
class extends lapis.Application
The "proper Lua API" is independant and idiomatic.
local lapis = require "lapis"
local app = lapis.Application()
return "Hello world!"