by yakshaving_jgt · 6y ago · 0 comments
If you're doing a CRUD thing, I'd suggest supporting both JSON and HTML representations of your responses (and Yesod works great for this). I think the art is in the details between the language parts you know and the libraries you end up interfacing with. Once you start doing this for real, that's when the details you learned in isolation in the beginning all begin to fit together.
My main candidate for this right now involves webscraping from a relatively small single source, structuring the data, and serving it in a different manner.
If I may tag on a semi related question: does https://hackage.haskell.org/package/tagsoup look like an OK html parsing library? Any general advice on choosing packages?
Thanks for this, I'm socially committed now ;-)
For what it's worth, I've dabbled with Go for about two years, doing the matasano crypto challenge and an AoC using it, before I actually started using it for "real work"TM.