Lua is a very fast and powerful scripting language that can be easily embeddable. It can be used to develop robust applications and has been shining in industries like game development, for example. Lua is also an excellent tool as a general purpose language. However, it's use in web developments, despite its great potential and incredible benchmarks, needs to be more widespread. I'd like to show you Sailor, a web MVC framework completely written in Lua.
1 of 17
Download to read offline
More Related Content
Lua web development and Sailor @conc_at 2015
1. Web devopment in Lua
Introducing Sailor, a web MVC
framework in Lua
Etiene Dalcol
@etiene_d
2. Why Lua?
Its a multiparadigm
scripting language
@etiene_d
3. Why Lua?
Its a multiparadigm
scripting language
It looks cool
(I heard you could make
games with it)
@etiene_d
4. 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
5. 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
7. How to web?
Apache2 => mod_lua
./configure --enable-lua
NginX => openresty
Xavante
others!
@etiene_d
8. 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
12. 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
13. Getting Sailor!
$ luarocks install sailor
$ sailor_create My App /var/www
$ cd /var/www/my_app
$ lua start-server.lua
@etiene_d