开发者

F# web development [closed]

开发者 https://www.devze.com 2023-01-09 04:00 出处:网络
As it currently stands, this开发者_如何学C question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely sol
As it currently stands, this开发者_如何学C question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 12 years ago.

What is the best way to use F# in a web development situation in order to make the most of the language? E.g. on its own with something like the Websharper framework, or together with C# and design tools, or otherwise.


It does depend on what kind of web development you're doing.

If you want to "make the most of the language" then I think WebSharper will do this - it will ease a lot of issues and make developing web applications more similar to developing non-web applications.

But, if the web development is not that complex then sticking just with F# and C# may be better than adding a major dependency on a package like WebSharper.


Currently, the C#/F# combination route might be more effective simply because of the maturity of the tools and example code available for C#. That is, use C# where the tools exist, but use F# for underlying logic. Since both are .NET languages, it shouldn't be too difficult to factor the modularity. Then, as better tools become available for F#, more of the project can be migrated in that direction.

0

精彩评论

暂无评论...
验证码 换一张
取 消