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.9.0.tar.gz
sha256=b219f97209fea6eb8cadcfe34e21549dd6df291ac4e5fa51b0fe28b2e09b0a38
md5=2a6960c6a8ef7dc6ac13c0b0385022a1

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: 21 May 2017

README

README.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 >= "0.4" & < "2.0.0"
  2. js_of_ocaml < "4.0.0"
  3. virtual_dom >= "v0.9" & < "v0.10"
  4. ppx_jane >= "v0.9" & < "v0.10"
  5. ppx_driver >= "v0.9" & < "v0.10"
  6. jbuilder >= "1.0+beta7"
  7. incremental_kernel >= "v0.9" & < "v0.10"
  8. incr_select >= "v0.9" & < "v0.10"
  9. incr_map >= "v0.9" & < "v0.10"
  10. core_kernel >= "v0.9" & < "v0.10"
  11. async_kernel >= "v0.9" & < "v0.10"
  12. async_js >= "v0.9" & < "v0.10"
  13. ocaml >= "4.03.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.