[web-devel] Re: On the state of Haskell web frameworks

Chris Eidhof chris at eidhof.nl
Wed Sep 22 15:17:50 CEST 2010


>> Have you looked at the web-routes package? Again, this might only be useful for more complex applications. The idea is that you use datatypes to encode all possible URLs, and linking is then done by building a value of that datatype: it is not possibly anymore to build invalid URLs.
> 
> This looks basically perfect as a replacement for my Routes and Links
> modules if a little involved. I'll look into it when I get home. Looks
> like I should be able to drop my custom modules entirely. I'll let you
> know how I get on with it.

There are also these two gists, which you may find interesting:

http://gist.github.com/348425
http://gist.github.com/333769

These are the two different approaches I've played around with.

-chris


More information about the web-devel mailing list