incr_domversion

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 [[https://github.com/Matt-Esch/virtual-dom][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.

AuthorJane Street Group, LLC
LicenseMIT
Published
Homepagehttps://github.com/janestreet/incr_dom
Issue Trackerhttps://github.com/janestreet/incr_dom/issues
MaintainerJane Street developers
Dependencies
Source [http] https://ocaml.janestreet.com/ocaml-core/v0.14/files/incr_dom-v0.14.0.tar.gz
sha256=57b0ca69e0ce3c38dadec5df8b0bfb9ec777192412f6259a04002a47e529ca05
md5=f7c6d58180d131d3546266252c11a64f
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/incr_dom/incr_dom.v0.14.0/opam