Is there any printed book about http4k? Any e-book...
# http4k
m
Is there any printed book about http4k? Any e-book? PDF?
d
Not specifically - hopefully a lot of what is needed is in the docs . There are a couple of books which we know of that use it as a base, but they aren't specifically about http4k. And of course, there's the excellent YouTube series which does the same: https://www.youtube.com/@RefactoringDuncan/ https://java-to-kotlin.dev/ https://pragprog.com/titles/uboop/from-objects-to-functions/ Packt publishing are very insistent on offering us an awful deal to write one though.. 😂
a
I wonder how feasible it would be to actually fill a whole book 🤔 . Http4k is kind of like React in that it has a minimal API surface area; pretty much everything is either an
HttpHandler
,
Filter
, or
Lens
. Perhaps what's missing is more recipes; it can be difficult to understand how to compose the right functions together in the right order to get what you want.
m
That hasn't stopped people from filling several books about React 😉 .
d
There is a lot of content about the surrounding ways of developing apps which is beyond the specifics of the API. If you add in all the stuff around connect and other ways to use the APIs for testing things at many different levels, styles, fakes... it's probably fairly meaty!
a
Yeah, you're right. Focusing not so much on how to use it, but on how to use it well.
m
A first step could be to compile the existing material on https://www.http4k.org/documentation/ into a printable PDF.