guile-user
[Top][All Lists]
Advanced

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

Re: Web development


From: Zelphir Kaltstahl
Subject: Re: Web development
Date: Mon, 7 Sep 2020 21:53:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.10.0

Hey Tantalum!

On 07.09.20 11:35, tantalum wrote:
> 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

Thanks for that! I will have to look into some of it (like scgi) to
understand better.

It seems like NGINX is a popular choice here as well.

I feel like we should put things together and document them (examples!),
so that people trying out Guile can quickly find how to get started with
a blog or some project like. I hope I can make it work in my example
project to share with everyone.

Best regards,
Zelphir

-- 
repositories: https://notabug.org/ZelphirKaltstahl




reply via email to

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