caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sebastien Ferre <Sebastien.Ferre@irisa.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Web technologies as graphical user interface to OCaml programs?
Date: Thu, 08 Dec 2016 09:41:09 +0100	[thread overview]
Message-ID: <58491CA5.7080205@irisa.fr> (raw)
In-Reply-To: <baacb5fa-1c76-6924-7284-73f5a0a0d16d@gmail.com>

Hello,

I recently converted an application with lablgtk2-based GUI to
a web-based GUI. The body of the application has been transformed
into an XML HTTP server using ocamlnet, and the GUI has been
re-implemented using js-of-ocaml.

See http://www.irisa.fr/LIS/softwares/sewelis for description of the 
app, and access to open source.
See http://www.irisa.fr/LIS/ferre/sewelis-servolis/index.html for the 
online Web application.

Don't have time right now to expand, but I am very happy of the move.

Best,
Sébastien

On 12/08/2016 09:21 AM, Matthieu Dubuget wrote:
> Hello,
>
> I wonder how I could use Web technologies to write OCaml program's
> GUI.
>
> I’m particularly interested by the ocaml-vdom (elm) approach
> simplicity.
>
> But my need would be to add a user interface to programs using some
> OCaml libraries which are not supported by js_of_ocaml (Unix, C libs
> bindings…).
>
> One solution would be to keep the GUI-less native OCaml apps compiled
> and running as native code, and have them communicate with GUIs that
> would run in browsers.
>
> I'm not sure how this communication would be done, thought? Maybe websocket,
> but this is something I do not know at all…
>
> Another solution would be to have the native OCaml app directly serve
> it's UI, maybe using ocsigenserver?
>
> I'm wondering if there are some examples around with those kind of
> approaches or other kind of solution?
>
> Best regards
>
>

  reply	other threads:[~2016-12-08  8:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08  8:21 Matthieu Dubuget
2016-12-08  8:41 ` Sebastien Ferre [this message]
2016-12-08  9:23 ` Vincent Balat
2016-12-10 13:54 ` SP
2016-12-11 14:51   ` Matthieu Dubuget
2016-12-14 22:14     ` SP
2016-12-15 11:59       ` rixed
2016-12-15 14:10         ` David Allsopp
2016-12-15 21:16           ` Adrien Nader
2016-12-26 11:59         ` SP

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

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

  git send-email \
    --in-reply-to=58491CA5.7080205@irisa.fr \
    --to=sebastien.ferre@irisa.fr \
    --cc=caml-list@inria.fr \
    /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 NNTP newsgroup(s).