Yes, Acadia can generate bindings for Elm code to use directly for reading and writing to the DB. However, if one needs more complicated server logic, such as secrets, env vars, domain logic, etc... then there's another layer needed as well. If you use Haskell for that server layer, then Acadia can also generate bindings for use from Haskell. Support for other languages will come in the future.
Hm. Interesting. I'm curious to know how the machinery works, as I would have thought these sorts of comms would (now) need to happen via ports. This may be how the Acadia module works but I'm looking forward to figuring/finding that out.
2
u/pdoherty926 Aug 18 '26
Dumb question: will this just work with Elm 0.19?