guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Web development


From: tantalum
Subject: Re: Web development
Date: Mon, 07 Sep 2020 09:35:28 +0000
User-agent: Posteo Webmail

this is what i use for web development:
* for static files, i use nginx and convert markdown to html using guile-commonmark, with an extension that allows calls to scheme code inside markdown (https://github.com/sph-mn/sph-web-publish) to generate some content like file listings * for dynamically generated pages, i use nginx and scgi (like fastcgi but simpler, http://python.ca/scgi/protocol.txt, https://github.com/sph-mn/sph-lib/blob/master/modules/sph/scgi.scm) to call a guile procedure on request. the guile side uses this framework https://github.com/sph-mn/sph-web-app * for serving generated files, i use the x-accel-redirect (x-sendfile) response header to instruct nginx to serve the file * for example, the linked pages here http://sph.mn/other/utilities.html are generated on the fly with guile 3. guile is fast. some of the converters use external tools and have a long initial output delay for a yet unknown reason



reply via email to

[Prev in Thread] Current Thread [Next in Thread]