Is there a library like Rails for Lua?
Entirely like Rails, I'd say no. But take a look at the Kepler Project and specially Orbit, which is a MVC framework. I'm doing web stuff with it and it is really fun to work with. You don't have the scaffolding stuff you have in Rails, but besides that, it has an orm, a templating engine (Cosmo), so you can get going.
Tir is a simple Lua + Mongrel2 web framework written by Zed Shaw.
For building web applications in Lua (or MoonScript) lapis
might be a fitting solution. It seems to be stable enough as known sites like http://itch.io
or http://luarocks.org are built with it.
http://leafo.net/lapis/
Lapis includes URL routing, HTML Templating, CSRF Protection and Session support, PostgreSQL/MySQL backed models, schema generation and migrations in addition to a collection of useful functions needed when developing a website.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With