I'm a MVC web developer who's become very interested in functional programming to write web apps (specifically, I'm captivated by Erlang and Cowboy.)
What I'm having trouble finding an answer to/resources on is what pattern is used to replace MVC in FP.
Obviously the idea of an ORM is ludicrous in FP, since it's not object oriented, so what is used to replace it for persistence logic? Is it usual to just build a module that uses a library to create functions that interface with the datastore, or are there tools similar to ORMs?
Both advice and links to resources would be greatly appreciated. Bonus points for Erlang/Cowboy specific help. Thanks.
Scala.React
. – Henryson