Zelphir Kaltstahl
2018-06-29 20:15:45 UTC
Hello Tonton,
I found the videos by Amirouche Boubekki interesting:
https://duckduckgo.com/?q=GNU+Guile+Hacking&t=ffab&ia=videos&iax=videos&iai=i47QgE0ihSw
He shows web development with Guile. What I remember:
* serving biwascheme JS to run Scheme in browser, having it interact
with procedures on the server side
* serving static files (although he warns not to do it the way shown in
the videos)
* routing using pattern matching on the requests
* using SXML to render HTML
I did not see all videos yet, so there might be much more.
The knowledge is not very compressed and it might take a while to get
through the videos, but the videos are realistic and show that "things
are possible" with Guile.
~ Zelphir
I found the videos by Amirouche Boubekki interesting:
https://duckduckgo.com/?q=GNU+Guile+Hacking&t=ffab&ia=videos&iax=videos&iai=i47QgE0ihSw
He shows web development with Guile. What I remember:
* serving biwascheme JS to run Scheme in browser, having it interact
with procedures on the server side
* serving static files (although he warns not to do it the way shown in
the videos)
* routing using pattern matching on the requests
* using SXML to render HTML
I did not see all videos yet, so there might be much more.
The knowledge is not very compressed and it might take a while to get
through the videos, but the videos are realistic and show that "things
are possible" with Guile.
~ Zelphir
------------------------------
Message: 2
Date: Fri, 29 Jun 2018 03:29:44 +0200
Subject: Lightweight web modules for Guile?
Content-Type: text/plain; charset="us-ascii"
Hey, I'm wanting to write a web page using guile, I'll need a module that can
help me with the web part. I like haunt, but I'll need a few dynamic
elements[1]. So I've been looking at and trying artanis. It is potentially
awesome and does a lot of things I'm not familiar with - and I have yet to
make it work. (I just sent a request for aid to the artanis list)
Are there other libraries or modules that eases web development? Anything
between artanis and "plain" guile?
(Another possibility I entertained is to use haunt and have the dynamic
elements be a separate html page populated by a separate process on the
server. The page would then only be linked to from the rest of the pages and
would hardcode paths for css and the rest. Not a very good solution, but
maybe the simplest right now.)
[1]: I need to embed messages from a pump.io account on the index page.
I would also like to try integrating with one or two other web
applications.
Tonton
Message: 2
Date: Fri, 29 Jun 2018 03:29:44 +0200
Subject: Lightweight web modules for Guile?
Content-Type: text/plain; charset="us-ascii"
Hey, I'm wanting to write a web page using guile, I'll need a module that can
help me with the web part. I like haunt, but I'll need a few dynamic
elements[1]. So I've been looking at and trying artanis. It is potentially
awesome and does a lot of things I'm not familiar with - and I have yet to
make it work. (I just sent a request for aid to the artanis list)
Are there other libraries or modules that eases web development? Anything
between artanis and "plain" guile?
(Another possibility I entertained is to use haunt and have the dynamic
elements be a separate html page populated by a separate process on the
server. The page would then only be linked to from the rest of the pages and
would hardcode paths for css and the rest. Not a very good solution, but
maybe the simplest right now.)
[1]: I need to embed messages from a pump.io account on the index page.
I would also like to try integrating with one or two other web
applications.
Tonton