Is Haskell mature enough for web applications?

Haskell doesn't seem to have much work for the web. People use it as a learning tool for functional programming more than a business. has any developed and deployed website app in Haskell yet? Please exchange links.

The comments from the next session can change my mind and plan for something else that might also be useful from a business point of view. Guide, Guide, Please!

I plan to learn a functional programming language, and I chose Haskell.

Is Haskell "cooked" enough to develop a commercial web application? Or do I need to look for other options, maybe even something other than a functional programming language, if it is worthy?

Investing in language learning is very expensive, and I want to make sure that Haskell is really worth learning.

Leadership, please.

+18
functional-programming haskell
Aug 10 '09 at 5:35
source share
10 answers

Ramiz

Your title mentions "commercial web applications" while your question is not, so I assume that the ultimate goal is to create a web application using a functional programming language.

If so, I recommend that you start with yaws , a fast HTTP server written in the functional parallel programming language Erlang. You will learn the ups and downs of twisting PHP-like scripts into functional thinking, much of which you can translate into your work with Haskell.

If you really like to stick with Haskell, and choosing a language is more important to you than a general functional approach, then take a look at Real World Haskell . This will give you an idea of ​​how the language solves common problems that may interest you in the process of learning the language.

+10
Aug 10 '09 at 6:06
source share

When you learn new languages, the required investment is reduced. Even if you start with Haskell, the functional knowledge you gain will help you learn other languages.

It also depends on what language you came from. If you came from Java, I would suggest scala, if you came from .net, I would suggest f #

+8
Aug 10 '09 at 5:44
source share

I believe that Haskell is my secret weapon - this tool that gives me a bit of an edge over other developers and often finds places to use it in my consulting assignments.

DSLs, for example, are quite hot at present in user software. Haskell is ridiculously suitable for this kind of work.

If this is not such a "commercial" environment, which you remember, perhaps some polyglot project is best (I think that a good user interface is one of Haskell's weaknesses). I have a project right now, when Haskell works as a fast cgi service in the back (I don’t like frames too much and really don’t like the ones that are available for Haskell right now), up the Flex interface (Adobe Flash Platform ) The possible intention of this project will be sold commercially * to small and medium enterprises as financial assistance.

The last thing I will say is that when I personally love Haskell, I think that its FP as a whole provides the greatest direct benefit. For this, if you find that you are looking at another FP language such as F #, Scala or Erlang, and think that it will be better, then I will say that run with it.

* Actually, the project will be used domestically at least one year before third parties enter the market.

+6
Aug 10 '09 at 20:42
source share

If you're talking about developing web applications, then the language you choose is as mature as the libraries written around it for web development.

+6
Aug 11 '09 at 4:50
source share

If you intend to do web development, I suggest you take a deep look inside JavaScript .
Javascript is a dynamic, weakly typed, prototype language with first-class features.
It has many features, and you can use either V8, TraceMonkey, or Windows Shell (but it runs JScript) to run it in a browser-free environment.

+2
Aug 10 '09 at 5:56
source share

There is a rather rich ecosystem of web libraries and a small number of commercial users. The company I work with uses Haskell for web applications in the security market.

Look at the libraries to find out what is offered: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:web

+2
Aug 12 '09 at 18:21
source share

There are many Haskell libraries for website development (Happstack, Kibro, Hack, Salvia, Turbinado); the problem is that it's hard to figure out which ones are good. Many of these libraries are quite young. I expect the situation to improve in the next couple of years as these libraries mature and become clearer as these libraries become better documented.

At the same time, I would say that Haskell is a great language for writing web applications, provided that you are willing to spend some time familiarizing yourself with libraries and possibly improving them when they do not meet your needs.

+2
Aug 19 '09 at 13:15
source share

Check out the jinjing code: http://github.com/nfjinjing/loli/tree/master Yes, it is still experimental. But it opens my eyes a little.

Haskell himself is definitely cooked. People who don't trust Java use Haskell (see http://www.galois.com ) when they need to protect government data.

But the Haskell web framework leaves much to be desired. Thus, this may not be the most productive environment at the moment. But ... if you handle this, innumerable power will be yours :)

+2
Aug 24 '09 at 14:10
source share

If you think that in the long term, as well as in the short term, Haskell is the best option. It has a lot of different web developments, but they have a lot in common, for example, all structures use applicative functions to create forms, and libraries are interchangeable. Therefore, if you study the structure, it is easy to change it to another, because basically the database interface, rendering methods and methods, etc. - this is the same time. On the other hand, there are many things to learn about the Haskell form, even if you decide to switch to another language. You will benefit from this. So finally, Haskell is worth learning.

Thinking that investing in the future, but maybe not to do something terrible right now, I think that the procedural framework (based on whether to continue or not) is the future of web development, as they are less complex and the code much more convenient and intuitive. Examples: ocsigen (ocaml), seaside (smalltalk), coccoon (javascript) and my own: mflow, written in Haskell.

Have you ever seen a three-page web application on Twitter? https://twitter.com/AGoCorona/status/329648864082677760

+2
May 03 '13 at 17:51
source share

Now, no doubt, haskell can be used for commercial web development, as shown on the website by janrain , which uses the snap web framework.

It is interesting to note that the first version of haskell (haskell 1.0) was released in 1990! And, looking at how waskell was then, and as now, we can say that there was a lot of “preparation”.

0
May 4 '13 at 10:45
source share



All Articles