News for hackers. Stuff that matters.
Re:Sailor – A Lua MVC framework by monocasa on Saturday November 29, 2014 @01:01PM (#8674435)
Since Lua is Portuguese for "moon", is this a Sailor Moon reference?
Re:Sailor – A Lua MVC framework by etiene on Saturday November 29, 2014 @01:08PM (#8674468)
Yes! Thanks for noticing! And the blog app example is called Tuxedo!
Re:Sailor – A Lua MVC framework by paracaidista on Saturday November 29, 2014 @06:49PM (#8675449)
I noticed those release names, too! Made my day.
Re:Sailor – A Lua MVC framework by etiene on Sunday November 30, 2014 @02:20AM (#8676267)
One is glad to be of service! :D
Re:Sailor – A Lua MVC framework by jdotjdot on Saturday November 29, 2014 @10:46PM (#8675909)
This totally went over my head and I am so glad you pointed it out. I now want to use it just because of that
Re:Sailor – A Lua MVC framework by etiene on Sunday November 30, 2014 @02:17AM (#8676264)
Hahaha cool! Thanks, go ahead!
Re:Sailor – A Lua MVC framework by justincormack on Saturday November 29, 2014 @12:40PM (#8674362)
Nice to see a larger framework that works with ngx_lua/openresty.
Re:Sailor – A Lua MVC framework by etiene on Saturday November 29, 2014 @12:47PM (#8674392)
Thanks! Integration with openresty was a contribution by Felipe Daragon! :D
Re:Sailor – A Lua MVC framework by statik_42 on Sunday November 30, 2014 @08:14AM (#8676741)
This is very cool. I love Lua, though my experience with it is limited to the few weeks I spent playing around with it as a Source engine scripting language in Half-Life 2: Sandbox. Still, it was very fun to learn, and I think this is an interesting application outside of its usual game scripting territory that I'd love to try out sometime. Great work! Thanks for sharing.
Re:Sailor – A Lua MVC framework by kremlin on Saturday November 29, 2014 @04:49PM (#8675210)
Viewing this on Chrome on Android. Being built with bootstrap, it's a bit surprising that the responsiveness of the site is so poor. Screenshot:

http://i.imgur.com/nnG3zgg.png

Re:Sailor – A Lua MVC framework by etiene on Sunday November 30, 2014 @02:12AM (#8676256)
Sailor's website does not use the bootstrap feature. To be honest I just picked a random nice-looking open template. It has its issues but it's not that bad! XD I confess I gotta work on that. Thanks for pointing it out!
Re:Sailor – A Lua MVC framework by bratao on Saturday November 29, 2014 @02:06PM (#8674698)
Proud to see this kind of project coming from a Brazilian university. Congratulations !
Re:Sailor – A Lua MVC framework by infinite8s on Saturday November 29, 2014 @04:43PM (#8675186)
You do know that Lua was developed at a Brazilian university (the Pontifical Catholic University of Rio de Janeiro)?
Re:Sailor – A Lua MVC framework by etiene on Sunday November 30, 2014 @02:21AM (#8676271)
Thanks! As an undergrad, I'm specially happy!
Re:Sailor – A Lua MVC framework by tete on Sunday November 30, 2014 @09:36AM (#8676892)
There are a lot of really nice Lua frameworks recently. Lapis is really cool too:

http://leafo.net/lapis/

Re:Sailor – A Lua MVC framework by etiene on Sunday November 30, 2014 @12:40PM (#8677401)
Yes! Orbit is very cool too even though it's not updated often. I'm really glad to see such a variety of projects in Lua community!
Re:Sailor – A Lua MVC framework by tete on Sunday November 30, 2014 @02:26PM (#8677766)
There seems to be a trend. It's really nice, because just about everything has a Lua interface these days and you can make nice applications in it. Like Lua works embedded in databases like Redis or web servers like nginx or operating system kernels, like NetBSD. And it's really simple to learn and really performant, especially with LuaJIT.

I always feel like it is showing off with simplicity, while still being a "normal" language the majority of people easily can get into quickly. I always like the give the example of my brother finishing games with love2d (basically just wrapping SDL, especially back then) in a matter of days, without prior programming knowledge (unless you call basic HTML and CSS programming, no JS).

Out of curiosity: How did you start out with Lua?

Re:Sailor – A Lua MVC framework by etiene on Sunday November 30, 2014 @03:01PM (#8677875)
I study at PUC-Rio where it was created. So I thought it was a matter of honor to try to learn it! xD Sailor was my first experience with it.
Re:Sailor – A Lua MVC framework by vince_refiti on Saturday November 29, 2014 @06:51PM (#8675453)
I am surprised you are not using OpenResty, like Lapis.
Re:Sailor – A Lua MVC framework by etiene on Sunday November 30, 2014 @02:09AM (#8676250)
We do have OpenResty support. But sailor doesn't work just with it. It also works on Apache, Xavante (a lua written server) and Mongoose (a very lightweight server)
Re:Sailor – A Lua MVC framework by vince_refiti on Sunday November 30, 2014 @03:21AM (#8676352)
Good. I missed reading it when I posted. Thanks for the info!