package incr_dom

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml.

Install

Dune Dependency

Authors

Maintainers

Sources

incr_dom-v0.11.0.tar.gz
md5=47ecf4cd854979e3ca9ae1c3351d17ce

Description

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.

Published: 22 Mar 2018

README

README.org

#+TITLE: ~Incr_dom~: a library for writing dynamic web-apps
#+PARENT: ../../doc/webdev/index.org

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.



Dependencies (13)

  1. ocaml-migrate-parsetree >= "1.0" & < "2.0.0"
  2. js_of_ocaml-ppx
  3. js_of_ocaml >= "3.0" & < "4.0.0"
  4. jbuilder >= "1.0+beta18.1"
  5. virtual_dom >= "v0.11" & < "v0.12"
  6. ppx_jane >= "v0.11" & < "v0.12"
  7. incremental_kernel >= "v0.11" & < "v0.12"
  8. incr_select >= "v0.11" & < "v0.12"
  9. incr_map >= "v0.11" & < "v0.12"
  10. core_kernel >= "v0.11" & < "v0.12"
  11. async_kernel >= "v0.11" & < "v0.12"
  12. async_js >= "v0.11" & < "v0.12"
  13. ocaml >= "4.04.1"

Dev Dependencies

None

Used by (1)

  1. incr_dom_widgets = "v0.11.0"

Conflicts (1)

  1. jbuilder = "1.0+beta19"