3 ms·
Well, there is no bad choice when it comes to picking a Haskell web framework. They are more alike than they are different. Anything you could develop in one, y
by stepcut 14y ago
Well, there is no bad choice when it comes to picking a Haskell web framework. They are more alike than they are different. Anything you could develop in one, you could develop in another. There are certainly no magic bullets in any of the frameworks.
There are certainly many minor design decisions that you can compare. For example, last time I looked at Snap, it seemed like variables captured from the url, got mixed into the same environment as key/value pairs from the QUERY_STRING and POST data. And, they explicitly decided to provide only a Snap monad, but not a SnapT monad transformer. But, none of those are, in themselves, things that warrant switching.
You could also consider which technologies the frameworks embrace, such as Heist vs HSX. At the same time, heist is officially supported by happstack (and even documented in the crash course). A lot of the core technology like acid-state, heist, hsx, jmacro, persistent, etc, can be used with any of the frameworks.
It mostly comes down to picking the framework that is investing the future you think is most exciting.
So, if the Happstack Philosophy and Roadmap get you excited, then use Happstack. If you think Snap's vision of tomorrow is more exciting -- then use Snap.
http://www.happstack.com/C/ViewPage/5 http://www.happstack.com/C/ViewPage/5
http://www.happstack.com/C/ViewPage/7 http://www.happstack.com/C/ViewPage/7
- jeremy
(p.s. more meaningful urls are on the TODO list, but it was not critical enough to delay the launch of the new website).
- ionfish 14y ago> Last time I looked at Snap, it seemed like variables captured from the url, got mixed into the same environment as key/value pairs from the QUERY_STRING and POST data. This was fixed in the recent 0.8 release. http://snapframework.com/blog/2012/03/16/snap-0.8-released http://snapframework.com/blog/2012/03/16/snap-0.8-released