A library for building dynamic webapps, using Js_of_ocaml.
OCaml HTML Makefile
Latest commit e55114a Feb 21, 2017 @trefis trefis 114.33+05
Failed to load latest commit information.
example 114.33+05 Feb 21, 2017
src 114.33+05 Feb 21, 2017
.gitignore 114.20+69 Dec 15, 2016
LICENSE.txt 113.49+25 Jul 5, 2016
Makefile 114.20+69 Dec 15, 2016
README.org 113.49+25 Jul 5, 2016
incr_dom.opam 114.33+05 Feb 21, 2017


A library for building dynamic webapps, using Js_of_ocaml.

The library is designed roughly on a model/view/controller model. Your application is built out of:

  • A functional model type that tracks the state of your application.
  • An incremental view function for computing an HTML-like representation of how your application should render on the browser. The is based on the virtual-dom javascript library.
  • An action type that is used to schedule events that update the model.

Combined with the ability to use Async, and in particular to send out network requests using websockets, this should allow the easy construction of rich web applications in a fairly comprehensible style.

If you want a more concrete sense of how this works, look in the examples directory.