I’m curious about this as well. This is what I’ve understood so far:
-
there are no production-grade database bindings for Postgres. Discussion here.
-
there are no full-fledged web frameworks in the OCaml ecosystem with commercial users and maintenance. Ocsigen has quite a bit of learning curve and probably is not a good fit for small inexperienced teams.
-
there is Opium by @rgrinberg, which adds routing and HTTP niceities to CoHTTP, which is a robust web server. It is minimalist compared to things like Rails. But with a session management library like inhabitedtype/ocaml-session and OCaml’s power and type-safety, we can hand-roll a sturdy web app.
Only if there was a better story in the database binding section…