Linked by Thom Holwerda on Fri 7th Sep 2007 13:34 UTC, submitted by anonymous
Thread beginning with comment 269572
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
well for servers there's http://www.keplerproject.org/xavante/
not sure if it meets you're needs
as for the other stuff the kepler project might have that stuff too, not sure.
I wrote this socket extension a while back, and using it could create a simple HTTP server:
http://www.steve.org.uk/Software/lua-httpd/
As for the other extensions I'm not sure, but if you've the patience it's mostly trivial to bind C + lua together. I wrote this small introduction to the subject here:
http://www.debian-administration.org/articles/264





Member since:
2005-07-18
For any Lua users out there: I'm very interested in using Lua for configuration and small services on headless servers. I would love it if anyone could point me to their favorite implementations of the following:
1. Httpd server - some sort of small stateful httpd server, in the mode of Ruby's Webrick or Mongrel, or Python's TwistedWeb. The point is not for high-traffic web serving but for complex web-based config apps serving one person at a time. Thus, I am looking for something that allows me to keep state across HTTP requests, but for the most part let me craft my own MVC system (NOT looking for a complete Ruby-on-Rails style framework).
2. IPC framework - again something small and simple that allows me to send messages back and forth over TCP/IP, handling one-to-one, one-to-many, and many-to-many relationships.
3. Fast XML/HTML processing - Is there anything similar to Python's ElementTree, or PHP's DOM library? Specifically, I'm looking for something that will let me import 'dirty' documents such as HTML, manipulate and fix them (PHP includes an option to import badly-formed HTML into DOM, not sure about ElementTree).
-tia