Re:Dream – Tidy Web Framework for OCaml and ReasonML
by antron-prime on Saturday April 10, 2021 @03:33AM
(#26759687)
As follow-on work to Dream, I'd like to take a very hard look at how we do JSON server-side, to really make it much easier. Although this is partially solved by using GraphQL more :) Ideally, in the end, we will have a very fluent server programming experience.
Same goes for SQL prepared statements. I'd like to decrease the amount of boilerplate somewhat, hopefully without resorting to preprocessing.
This is part of the reason I didn't add too many helpers for either JSON or SQL to Dream yet - there seems to be considerable room for improvement here.
Re:Dream – Tidy Web Framework for OCaml and ReasonML
by csbartus on Saturday April 10, 2021 @04:14AM
(#26759859)
See also Opium (vs. Dream): https://discuss.ocaml.org/t/excited-about-dream-web-framewor...
Re:Dream – Tidy Web Framework for OCaml and ReasonML
by antron-prime on Saturday April 10, 2021 @05:06AM
(#26760092)
You may have meant this post:
https://discuss.ocaml.org/t/excited-about-dream-web-framewor...
or another in that thread, as the specific one linked doesn't compare Dream with Opium!
Opium itself is found here:
Sihl: https://github.com/oxidizing/sihl
ReWeb: https://github.com/yawaramin/re-web/
Of course, if you're interested in OCaml/Reason and don't know about Revery you're missing out.