Applications of OCaml reactive programming in web development.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static/css
.gitignore
Makefile
Makefile.options
README.md
client.ml
common.ml
effect.ml
interface.ml
oreo.conf.in
oreo.eliom
server.ml

README.md

Oreo (Ocaml Reactive)

Reactive programming is a programming paradigm oriented around data flows and the propagation of change. React is a module to allow Ocaml programmers to code in reactive style. This project illustrates some examples of how reactive programming can be used in web development.

Ocsigen framework is a web framework written in Ocaml and for Ocaml programmers to develop web applications.

It contains a light-weight framework written for Ocsigen framework to write multimedia applications, made up of interface.ml and effect.ml. The rest of the files are used to demonstrate the effect of the framework.

Dependencies

  • Ocaml release 4.00.1 or above
  • Opam (Ocaml Package Manager)
  • React (installation from Opam)
  • Ocsigen framework release 3.0 or above (installation from Opam)

API

Execution

Test your application by compiling it and running ocsigenserver locally

$ make test.byte (or test.opt)

Deploy your project on your system

$ sudo make install (or install.byte or install.opt)

Run the server on the deployed project

$ sudo make run.byte (or run.opt)

Use it for your own project

interface.ml and effect.ml can be transferred and used for your own project. You are also welcome to folk this repo and contribute to it.