From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.user Subject: Re: Getting started web developpement with GNU Guile (with guile fibers) and BiwaScheme Date: Mon, 8 May 2017 22:55:09 +0800 Message-ID: References: <9546dff3-8696-249e-955e-7c1f8a209833@hypermove.net> <0089113d-1285-34ea-9cf6-e2477c010e33@hypermove.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1494255370 5001 195.159.176.226 (8 May 2017 14:56:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 May 2017 14:56:10 +0000 (UTC) Cc: Guile User To: Amirouche Boubekki Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon May 08 16:56:06 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7k50-00016Y-89 for guile-user@m.gmane.org; Mon, 08 May 2017 16:56:06 +0200 Original-Received: from localhost ([::1]:59918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7k50-0005F4-T4 for guile-user@m.gmane.org; Mon, 08 May 2017 10:56:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7k48-0004t2-Gz for guile-user@gnu.org; Mon, 08 May 2017 10:55:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7k47-0001vd-2h for guile-user@gnu.org; Mon, 08 May 2017 10:55:12 -0400 Original-Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:35447) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7k46-0001vE-Rr for guile-user@gnu.org; Mon, 08 May 2017 10:55:10 -0400 Original-Received: by mail-oi0-x234.google.com with SMTP id l18so53254748oig.2 for ; Mon, 08 May 2017 07:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aY97ZyuU/FsjLU1eJ34ey3eKO+F+XVfXUm569tt3KJw=; b=VWXXuD0Z1Vca4edJSIUYJDDva6tqSqTPHRYVaYXgI13ojJv5Fvs3aAxJQL6OIoWlQX NKySK4rNo07M4jORP08gJ5eOeLr7+C9s1HL++pUB/oDtlgRLQ15Cy7CL/z2czw/zl2oX jcEhFY6l75lHbQEKxeMu771VEh9w0rQPhvLUPqJrvX7WBRoNUIxq63pXf+cNChYvsW8z rnUzhYhB7nCjZ/XnEW/RMLn5a10NwWKjcCEcCVtzXlfOoBwwgnoHEjtzdsLGg2JAuWBA n0QWYkDndC9fEuP3OxSv6D8HfYBidV7460WS0WHgo4PGdv/dG0rMnl9BAdDWaoIdaiz2 4IbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aY97ZyuU/FsjLU1eJ34ey3eKO+F+XVfXUm569tt3KJw=; b=IV1vtiEUCOPHcukKW5YRMwj+YYokF6JjEzoDJQBAOzmPYgLDA+CPYORIJVo57WHWwK ORmb+iQZj28jNbkqIzZpDyAlgeHRKuE0F07YlGfKbBob3ByHlIurwp0tHmP+qYPQ1x8g oCT4wB48u0kw3OsWADQTz39q20Z86Lb7SKkCYtw6JMNMT2jYlApiGtQ6t5av7nDqhL92 4vBEJRrDfVh4XSGlZ9XYe9GdomhAMfJ9iYIcqehV+gqB9UW1oV1lDyV8NYZjVzEtTwxZ ZCLFRIVFVe8B8P6+ipkkmSYm04KBkgNI4MSGIMUCDWhYZHkh+JU5m80UMKOZg83v6CWD oziA== X-Gm-Message-State: AN3rC/4JYBdv7I0lnZJVWla/CQ4nOTk+4Xz8kPSHU6kMrk14ZPkGatOs QgMXMD9oGoknXLPpT4nWd3JC3iSryA== X-Received: by 10.157.62.77 with SMTP id h13mr14839426otg.159.1494255309552; Mon, 08 May 2017 07:55:09 -0700 (PDT) Original-Received: by 10.157.37.80 with HTTP; Mon, 8 May 2017 07:55:09 -0700 (PDT) Original-Received: by 10.157.37.80 with HTTP; Mon, 8 May 2017 07:55:09 -0700 (PDT) In-Reply-To: <0089113d-1285-34ea-9cf6-e2477c010e33@hypermove.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::234 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13696 Archived-At: I'm planning to add Scheme web front-end stuff to let Artanis do every web thing in Scheme. Is it too extremist ? : -P But nowadays we have WASM, JavaScript is not needed as the high level language anymore. 2017=E5=B9=B45=E6=9C=888=E6=97=A5 20:53=EF=BC=8C"Amirouche" =E5=86=99=E9=81=93=EF=BC=9A > > > Le 06/05/2017 =C3=A0 21:18, Nala Ginrut a =C3=A9crit : > >> Oh I'd love to see someone write web front-end with Scheme. Good job ! >> >> >> > I will see what new artanis will be out :) > > Tx! > > >> 2017=E5=B9=B45=E6=9C=887=E6=97=A5 02:47=EF=BC=8C"Amirouche" > amirouche@hypermove.net>>=E5=86=99=E9=81=93=EF=BC=9A >> >> 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 >> >> >> >> >