際際滷

際際滷Share a Scribd company logo
Web devopment in Lua
Introducing Sailor, a web MVC
framework in Lua
Etiene Dalcol
@etiene_d
Why Lua?
 Its a multiparadigm
scripting language
@etiene_d
Why Lua?
 Its a multiparadigm
scripting language
 It looks cool
(I heard you could make
games with it)
@etiene_d
Why Lua?
 Its a multiparadigm
scripting language
 It looks cool
(I heard you could make
games with it)
 Its made in my home country
(In my university to be more precise)
@etiene_d
Why Lua?
 Its a multiparadigm
scripting language
 It looks cool
(I heard you could make
games with it)
 Its made in my home country
(In my university to be more precise)
 It has great benchmarks
@etiene_d
Lua web development and Sailor @conc_at 2015
How to web?
 Apache2 => mod_lua
./configure --enable-lua
 NginX => openresty
 Xavante
 others!
@etiene_d
And what exactly is Sailor
 Its an MVC web framework
 Completely written in Lua
 Compatible with Apache (mod_lua), Nginx
(OpenResty), Mongoose, Xavante and Lwan
 Compatible with Linux, Windows and Mac
 MIT License
 Pre alpha v0.2 (Mars), preparing for 0.3
(Jupiter)
@etiene_d
@etiene_d
@etiene_d
What does it do?
Lua at client
@etiene_d
Whats bad about it
 Early development
 Things are changing fast
(backwards compatibility is not guaranteed
until version 1.0)
 It still lacks features
 Documentation
@etiene_d
Getting Sailor!
$ luarocks install sailor
$ sailor_create My App /var/www
$ cd /var/www/my_app
$ lua start-server.lua
@etiene_d
Sailor!
@etiene_d
site.lua
index.lp
site.lua
index.lp
Etiene Dalcol
sailorproject.org
github.com/Etiene/sailor
dalcol@etiene.net
@etiene_d

More Related Content

Lua web development and Sailor @conc_at 2015