caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Matthieu Dubuget <matthieu.dubuget@gmail.com>
To: Caml-list <caml-list@inria.fr>
Subject: [Caml-list] Web technologies as graphical user interface to OCaml programs?
Date: Thu, 8 Dec 2016 09:21:17 +0100	[thread overview]
Message-ID: <baacb5fa-1c76-6924-7284-73f5a0a0d16d@gmail.com> (raw)

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


-- 
Matthieu Dubuget


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

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08  8:21 Matthieu Dubuget [this message]
2016-12-08  8:41 ` Sebastien Ferre
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=baacb5fa-1c76-6924-7284-73f5a0a0d16d@gmail.com \
    --to=matthieu.dubuget@gmail.com \
    --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).