package incr_dom
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=565264542acb08b61c7f1b63c41a69e5f788c7499b096094573b507163ae180d
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: 17 Oct 2022
README
README.org
#+TITLE: ~Incr_dom~: a library for writing dynamic web-apps 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 [[./example/README.org][examples directory]].
Dependencies (12)
-
js_of_ocaml-ppx
>= "4.0.0"
-
js_of_ocaml
>= "4.0.0"
-
dune
>= "2.0.0"
-
virtual_dom
>= "v0.15" & < "v0.16"
-
ppx_jane
>= "v0.15" & < "v0.16"
-
incremental
>= "v0.15" & < "v0.16"
-
incr_select
>= "v0.15" & < "v0.16"
-
incr_map
>= "v0.15" & < "v0.16"
-
core
>= "v0.15" & < "v0.16"
-
async_kernel
>= "v0.15" & < "v0.16"
-
async_js
>= "v0.15" & < "v0.16"
-
ocaml
>= "4.08.0"
Dev Dependencies
None
Used by (4)
-
bonsai
>= "v0.15.0" & < "v0.16.0"
-
incr_dom_interactive
>= "v0.15.0" & < "v0.16.0"
-
incr_dom_partial_render
>= "v0.15.0" & < "v0.16.0"
-
incr_dom_sexp_form
>= "v0.15.0" & < "v0.16.0"
Conflicts
None