6 ms·
> This looks pretty interesting. It makes me want to learn OCaml. :-P You can learn F# with dotnet core, which has a better ecosystem for web development. OCam
by aikah 10y ago
> This looks pretty interesting. It makes me want to learn OCaml. :-P
You can learn F# with dotnet core, which has a better ecosystem for web development. OCaml is quite poor in that domain.
- KurtMueller 10y agoAre you speaking from experience? If so, do you have any or know of any resources I could look at? Also, what type of backend are you using with F# and dotnet core?
- ZenoArrow 10y agoIf you want the BuckleScript equivalent for F#, that would be Fable. https://github.com/fable-compiler/Fable/blob/master/README.md https://github.com/fable-compiler/Fable/blob/master/README.m... There's a newer branch called Fable Arch which I believe is focused on promoting the Elm Architecture for structuring web apps: https://github.com/fable-compiler/fable-arch https://github.com/fable-compiler/fable-arch FunScript is another alternative: http://funscript.info/ http://funscript.info/
- Paradigma11 10y agoI do not think that Arch is a newer branch but a framework that uses the standard fable compiler.
- elbear 10y agoElm Architecture for F# is Elmish: https://github.com/fable-compiler/fable-elmish https://github.com/fable-compiler/fable-elmish
- Paradigma11 10y agoOne popular web server is https://suave.io/ https://suave.io/ You can use http://fable.io/ http://fable.io/ for f# -> js transpilation. One big advantage is that you are able to use ts definitions for foreign js libraries. The js is generated by babel which is also nice. There are several active projects and bindings that you can take a look at there: https://github.com/fable-compiler https://github.com/fable-compiler
- KurtMueller 10y agoWhat kind of data store do you use with F#? Some sort of SQL variant?
- Paradigma11 10y agohttps://blog.geist.no/suave-io-introduction-and-example-part-4-database-access/ https://blog.geist.no/suave-io-introduction-and-example-part... "Database access from a Suave.IO app isn't any different from database access from any other .NET / F# app you write." Any way you like, really.
- yawaramin 10y agoHave you heard of Ocsigen/Eliom? It's a complete OCaml system for web development.