开发者

POW like server for Lua web development (super simple / no config)?

开发者 https://www.devze.com 2023-03-11 02:24 出处:网络
Is there is simple POW like web development environment for Lua? The idea being, with a single command (no configuration) - you have a self contained web development environment for Lua up and runnin

Is there is simple POW like web development environment for Lua?

The idea being, with a single command (no configuration) - you have a self contained web development environment for Lua up and running in seconds.

(In case you're not aware, Pow is a Ruby on Rails environment that quickly allows you to begin web development in a self contain di开发者_如何学JAVArectory)


No, there isn't. Pow doesn't serve a language, it makes a connection to a rack-compatible web framework. So if you used a Lua web framework - like, say, Kepler or Orbit, you could write a Rack-compatible loader for it, and then it should Just Work with pow.

(The pow devs are already working on figuring out how to do this in a more generic way; see https://github.com/37signals/pow/issues/120 for more details.)


There's Xavante, which is a development server written in Lua for the Kepler project. Some people also run it in production, although personally I wouldn't do that, since it's socket mechanism is based on select(2) and doesn't scale terribly well.

0

精彩评论

暂无评论...
验证码 换一张
取 消