Re:Ask HN: What are the best web tools to build basic web ap...
by mark_l_watson on Sunday October 23, 2016 @03:59PM
(#12775156)
Thanks for the recommendations. I need to study both Elm (never used it) and PureScript (have just played with it). I am almost ready to publish my first Haskell book (my take on getting started the easy way, with a tutorial for a subset of the language and some cookbook style coding recipes to play with). I am thinking of doing a volume II cookbook that covers web development, and other topics. I use scotty and yesod, and experimenting with Elm and PureScript sounds good.
[ Parent
| on HN ]
Re:Ask HN: What are the best web tools to build basic web ap...
by aban on Sunday October 23, 2016 @04:42PM
(#12775332)
Looking forward to your book! A volume II sounds like a good idea too.
So far I've only used Yesod myself, but Spock looks very promising and I've heard great things about Servant for writing APIs.
Re:Ask HN: What are the best web tools to build basic web ap...
by mark_l_watson on Sunday October 23, 2016 @04:47PM
(#12775345)
Servant looks great. I have only spent a few hours playing with it, but from what I have seen, I like it.
Re:Ask HN: What are the best web tools to build basic web ap...
by thelambentonion on Sunday October 23, 2016 @06:23PM
(#12775711)
Servant is still _very_ rough around the edges, imo. I like it a lot for mocking APIs [0], but I'd be wary about using it in production for anything other than a small service.
Right now I'm keeping an eye on servant-auth [1] and the GHCJS implementation of servant-client [2], as they're both extremely compelling.
[0] Recently, I needed to test something against a work-in-progress API. I wrote out a rough type-level specification and had servant-quickcheck generate arbitrary data. When I needed to test more concrete data, it was trivial to incrementally move endpoints over to concretely defined stubs.