4 ms·
I have web servers in production running in CCL WANT!!! Please write an article about it and post a link to it here.
by Annatar 9y ago
I have web servers in production running in CCL
WANT!!!
Please write an article about it and post a link to it here.
- lisper 9y agoI'll see what I can do, but in the meantime: https://github.com/rongarret/ergolib https://github.com/rongarret/ergolib In particular: https://github.com/rongarret/ergolib/tree/master/web https://github.com/rongarret/ergolib/tree/master/web The heavy lifting is all done by Hunchentoot: http://weitz.de/hunchentoot/ http://weitz.de/hunchentoot/
- Annatar 9y agoThe part I’m also interested in is the cgi-bin config of the web server. Or did you manage to get Apache’s mod_lisp working? How?
- lisper 9y agoHunchentoot is a web server. It's a replacement for Apache. I usually run nginx as a front-end because it's faster at serving static content and it provides some security benefits, but it's not necessary.
- flavio81 9y agoAre you interested in a web server for Common Lisp? We have had these for years, for example Hunchentoot. This is a standalone web server, doesn't need to be connected to any other server. No need for Apache. Take a look at the "lack" and "Clack" packages for Common Lisp by Eitaro Fukamachi; they provide a layer of abstraction so your program thinks it has a web server, but in production it can be run by various Lisp web servers (i.e. Hunchentoot) without changes to your code.
- Annatar 9y agoI’m interested in running Lisp web applications inside of Apache web server, for example with mod_lisp or through cgi-bin, although I’d prefer the former, simply because Apache has modules for many other functions as well. Unfortunately, what documentation there is on mod_lisp isn’t step by step to get from point A to point B. I wasn’t aware of Hunchentoot.
- flavio81 9y ago"As Caveman bases on Clack/Lack, you can choose which server to run on -- Hunchentoot, mod_lisp or FastCGI" https://github.com/fukamachi/caveman/blob/master/README.markdown https://github.com/fukamachi/caveman/blob/master/README.mark... Take a look at Clack. (Caveman2 is a web framework for Common Lisp, by Eitaro ("8arrow") Fukamachi; another recent web framework is Lucerne, by Fernando Borretti ("eudoxia0")) Caveman is built on top of Clack and I think Lucerne is, too. Another good option is Ningle, by Eitaro, which is a really mínimal minimal set of functions and macros to create a web application. Runs on top of Clack as well.