I would like to do some web programming using functional programming. What decent web-frameworks exists for functional programming languages?
|
closed as not constructive by gnat, thorsten müller, GlenH7, Martijn Pieters, Jim G. Apr 21 at 0:00
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific 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, see the FAQ for guidance.
|
Lift is an interesting framework for Scala. The practical advantage of Scala is that it can use any existing Java libraries. |
|||
|
|
There are many many more (even I'm developing one in F#) but I think these (and Lift, already mentioned) are the most complete/popular/documented. I can't comment on Erlang frameworks. |
|||
|
|
|
There's a list of web frameworks available for Erlang. Summarizing that list here:
Of those the two that look most of interest to me are webmachine and nitrogen. YMMV. |
|||||
|
|
|
Noir is beautiful, functional and simple (in the Rich Hickey "Simple Made Easy" sense):
I particularly like the way that you can then build your entire web application just using function composition, supported with a few macros to enable a nice declarative DSL. |
||||
|
|
|
Compojure is an open source web framework for the Clojure programming language. |
|||
|
|
|
As you have left any languages out of the question, I guess you accept multiple languages... So for the language F# there exists FSharp.WebTools.
|
|||||
|
|
I recommend looking into Erlang and yaws. Erlang is a lightweight functional programming language with a great set of features, good libraries and an active development community. Yaws is efficient and well matained. |
||||
|
|
|
Snap is a nice and really fast web framework for Haskell.
|
||||
|
|
|
There is a comparison of Erlang web frameworks on Github: https://github.com/evanmiller/ChicagoBoss/wiki/Comparison-of-Erlang-Web-Frameworks I haven't played with all the frameworks listed there so I don't want to judge, but I've been using Zotonic quite extensively in my currently project and I can wholeheartedly recommend it. As far as I know it's the only Erlang framework which is not only a framework but also a full-blown CMS. So you can start easily with just the CMS features and then expand the website by adding your custom functionality using your own modules. In my case I am using it purely as a framework because at this moment the CMS features work only with PostgreSQL and I can't use a separate database. But even just as a framework it offers lots of features not always found in the other frameworks. What's very nice is that the project is being very actively developed because the people behind Zotonic design and implement websites and they use it as their CMS of choice. If I had to choose then I would probably give Zotonic the first chance, then ChicagoBoss, and then Nitrogen. |
||||
|
|