I have been looking into Websharper, and was wondering if it's possible to use it for static web apps. That is, not hosted in IIS, but as a static web page with javascript.
Current WebSharper release does not make this scenario easy. For the next release, we are developing server-side HTML combinators and page/website combinators. With these combinators, you will be able to define complete pages and linked websites in F#, and then either serve them via IIS or compile them out to static HTML.
I imagine that, in the worst case, there is a degenerate 'yes' answer, in that you could
and thus in that respect it behaves as a kind of F#-to-Javascript translator.
That said, I have not had time to try out WebSharper myself, and so I could be wrong, or even if I am right, there could be a simpler workflow for this scenario, or who knows what. Hopefully someone will step in with a better answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With