+ All Categories
Home > Software > Lua web development and Sailor @conc_at 2015

Lua web development and Sailor @conc_at 2015

Date post: 29-Jul-2015
Category:
Upload: etiene-dalcol
View: 266 times
Download: 0 times
Share this document with a friend
Popular Tags:
17
Web devopment in Lua Introducing Sailor, a web MVC framework in Lua Etiene Dalcol @etiene_d
Transcript

Web devopment in LuaIntroducing Sailor, a web MVC

framework in Lua

Etiene Dalcol@etiene_d

Why Lua?

➔ It’s a multiparadigm scripting language

@etiene_d

Why Lua?

➔ It’s a multiparadigm scripting language➔ It looks cool (I heard you could make games with it)

@etiene_d

Why Lua?

➔ It’s a multiparadigm scripting language➔ It looks cool (I heard you could make games with it)➔ It’s made in my home country (In my university to be more precise)

@etiene_d

Why Lua?

➔ It’s a multiparadigm scripting language➔ It looks cool (I heard you could make games with it)➔ It’s made in my home country (In my university to be more precise)➔ It has great benchmarks

@etiene_d

How to web?

➔ Apache2 => mod_lua ./configure --enable-lua

➔ NginX => openresty

➔ Xavante

➔ others!@etiene_d

And what exactly is Sailor

➔ It’s 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

What’s 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 Dalcolsailorproject.org

github.com/Etiene/[email protected]

@etiene_d


Recommended