Название: Pure functional HTTP APIs in Scala Автор: Jens Grassel Издательство: Leanpub Год: 2022-07-10 Страниц: 149 Язык: английский Формат: pdf (true), epub, mobi Размер: 10.3 MB
Discover the pure functional side of HTTP API programming in Scala.
This book is intended for the intermediate Scala programmer who is interested in functional programming and works mainly on the web service backend side. Ideally she has experience with libraries like Akka HTTP and Slick which are in heavy use in that area.
However maybe you have wondered if we can't do better even though aforementioned projects are battle tested and proven.
The answer to this can be found in this book which is intended to be read from cover to cover in the given order. Within the book the following libraries will be used: Cats, Cats Effect,http4s, Doobie, Refined, fs2, tapir, Monocle and probably others. ;-)
The second edition includes a chapter about migrating the project to Scala 3. Code and book source can be found in the GitHub.
Within the Scala ecosystem the Akka-HTTP library is a popular choice for implementing server side backends for HTTP APIs. Another quite popular option is the Play framework but using a full blown web framework to just provide a thin API is overkill in most cases. As most services need a database the Slick library is another popular choice which completes the picture.
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.