News for hackers. Stuff that matters.
Re:Dream – Tidy Web Framework for OCaml and ReasonML by d3nj4l on Saturday April 10, 2021 @03:21AM (#26759634)
Really exciting to watch the developments in OCaml/Reason web frameworks/libraries. I love the language and wish I could use it instead of Ruby for my personal projects at least. Others that have caught my interest are:

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.

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)
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:

https://github.com/rgrinberg/opium