unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Nala Ginrut <nalaginrut@gmail.com>
To: Amirouche Boubekki <amirouche@hypermove.net>
Cc: Guile User <guile-user@gnu.org>
Subject: Re: Getting started web developpement with GNU Guile (with guile fibers) and BiwaScheme
Date: Sun, 7 May 2017 03:18:06 +0800	[thread overview]
Message-ID: <CAPjoZocY6hXGUZh__zbWpfbkPVh5ugB=9ka8JRH9EpOYLbBmNg@mail.gmail.com> (raw)
In-Reply-To: <CAPjoZod7PheAM23LpVd1=jBwLAmUSj=OzXiSBOdufhkxYkhPEw@mail.gmail.com>

Oh I'd love to see someone write web front-end with Scheme. Good job !



2017年5月7日 02:47,"Amirouche" <amirouche@hypermove.net>写道:

I made a screencast explaining how I would start building a poll application
using by favorite tools of the moment.

There GNU Guile in the backend using the new guile-fibers to run the http
server
workers.

In the frontend I use BiwaScheme with snabbdom library for interacting with
the
browser.

BiwaScheme is a Scheme interpreter written in JavaScript.

Snabbdom is library that implement a diff+patch algorithm which allows to
declare
how the page will look and it make it happen. It also handles bindings
events to
callbacks. The use of snabbdom is bound to scheme and its use is
transparent.

The first video, I try to explain what tools I will use and sort of why.
It's not
very interesting https://youtu.be/i47QgE0ihSw

The second video, I tackle an issue in forward.scm, basically I am bug
hunting in
the browser: https://youtu.be/to8vdri82_E

The last is the most interesing, it restart where I left it in the previous
video
with basically a minimal frontend (so you might want to look at the 20 last
minutes
of the second video). Anyway, then it goes on to allow the frontend (client
side)
to communicate with the backend (server side) using HTTP:
https://youtu.be/ePiHp1lgbas

The code can be found @ https://framagit.org/a-guile-mind/azul

azul means "hello" in amazigh.

Happy hacking!

~ amz3 ~ http://hyperdev.fr


  parent reply	other threads:[~2017-05-06 19:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-06 18:47 Getting started web developpement with GNU Guile (with guile fibers) and BiwaScheme Amirouche
     [not found] ` <CAPjoZod7PheAM23LpVd1=jBwLAmUSj=OzXiSBOdufhkxYkhPEw@mail.gmail.com>
2017-05-06 19:18   ` Nala Ginrut [this message]
2017-05-08 12:53     ` Amirouche
2017-05-08 14:55       ` Nala Ginrut
2017-05-10  4:09         ` Erik Edrosa
2017-05-10  4:15           ` Nala Ginrut
2017-05-10 18:14             ` Amirouche Boubekki
2017-05-08 11:07 ` Amirouche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPjoZocY6hXGUZh__zbWpfbkPVh5ugB=9ka8JRH9EpOYLbBmNg@mail.gmail.com' \
    --to=nalaginrut@gmail.com \
    --cc=amirouche@hypermove.net \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).