Scala FS2 and HTTP4S

Tijdsduur
Logo van EDC4IT Europe BV

Tip: meer info over het programma, prijs, en inschrijven? Download de brochure!

Startdata en plaatsen

Er zijn nog geen startdata bekend voor dit product.

Beschrijving

A solid understanding of fs2 and http4s is essential for a more comprehensive grasp of Scala. If you are looking for an efficient and speedy polymorphic stream processing library, then FS2, or Functional Streams for Scala, is for you. It is compatible with Cats-effect typeclasses and can be used with other effect libraries. Built on FS2, HTTP4S is the ideal companion topic for this course and is the minimal Scala interface for your HTTP services.

Prerequisites:

Students should be familiar with the Scala programming language, cats and cats-effect. We advise students to follow our SCALA-CATS course.

Course Contents

fs2

  • Introduction to fs2
  • Compare fs2 to other streaming libraries
  • Defi…

Lees de volledige beschrijving

Veelgestelde vragen

Er zijn nog geen veelgestelde vragen over dit product. Als je een vraag hebt, neem dan contact op met onze klantenservice.

Nog niet gevonden wat je zocht? Bekijk deze onderwerpen: Scala, Programmeren (algemeen), Java, OO (Object Oriented) Programmeren en Ruby (on Rails).

A solid understanding of fs2 and http4s is essential for a more comprehensive grasp of Scala. If you are looking for an efficient and speedy polymorphic stream processing library, then FS2, or Functional Streams for Scala, is for you. It is compatible with Cats-effect typeclasses and can be used with other effect libraries. Built on FS2, HTTP4S is the ideal companion topic for this course and is the minimal Scala interface for your HTTP services.

Prerequisites:

Students should be familiar with the Scala programming language, cats and cats-effect. We advise students to follow our SCALA-CATS course.

Course Contents

fs2

  • Introduction to fs2
  • Compare fs2 to other streaming libraries
  • Defining pure streams
  • using core operations (map, flatMap, take, …)
  • Combining Streams
  • Define effectful streams
  • Understand stream compilation to F[_]
  • List key fs2 API (Stream, Pipe, Chunk, Pull, …)
  • Transforming values using pipes
  • Handling errors
  • Building Retry logic
  • Building declarative flows
  • Handling and releasing Resources
  • Introduction to Concurrency

http4s

  • Introduce https as a functional HTTP client/server
  • Introduce its Architecture
  • Understand the relevance of Kleisli, MonoidK and other typeclasses
  • Understand the role of fs2
  • Introduce Blaze

The Server and APIs/DSL

  • Configure the BlazeServer
  • Introduce the server DSL
  • Build polymorphic http4s code
  • Understand make aResponse (body, headers)
  • How map HTTP Requests
  • Extract Path Parameters
  • Use Query Parameters
  • Introduce Entity Handing and codecs
  • Understand how EntityDecoder/EntityEncoder works
  • Using built-in codecs (strings, fs2 Stream, …)
  • Introduce/Recap Circe for Json handling
  • Integrate http4s and circe
  • Accessing the request body (for POST)
  • Adding request Validation using cats
  • Introduce and use Middleware
  • Define your own Middleware
  • Apply Middleware to your routes (logging, Authentication, CORS, etc)

The Client API/DSL

  • Set up a Blaze client
  • Introduce the client API
  • Making requests use the Client DSL
  • Handling the responses
  • Working with Headers
  • Discuss client middleware (retry, follow-redirects,.. )

You have discovered EDC4IT, your online home for IT Training in Open Source Technologies.

Famous for the practicality and applicability, a significant part of our course material is dedicated to hands-on exercises and lucrative tips allowing the participants to improve considerably in their workplaces in no time.

We go the extra mile to deliver consultancy and on-the-job coaching, as needed. Having received great feedback on our online courses, we take pride in our trainers and learning material.

Join us, use our rich expertise, and get ahead of the rest!

Blijf op de hoogte van nieuwe ervaringen

Er zijn nog geen ervaringen.
  • Vraag informatie aan over deze cursus. Je ontvangt vanaf dan ook een seintje wanneer iemand een ervaring deelt. Handige manier om jezelf eraan te herinneren dat je wilt blijven leren!
  • Bekijk gerelateerde producten mét ervaringen: Scala.

Deel je ervaring

Heb je ervaring met deze cursus? Deel je ervaring en help anderen kiezen. Als dank voor de moeite doneert Springest € 1,- aan Stichting Edukans.

Er zijn nog geen veelgestelde vragen over dit product. Als je een vraag hebt, neem dan contact op met onze klantenservice.

Download gratis en vrijblijvend de informatiebrochure

Aanhef
(optioneel)
(optioneel)
(optioneel)
(optioneel)
(optioneel)
(optioneel)

Heb je nog vragen?

(optioneel)
We slaan je gegevens op om je via e-mail en evt. telefoon verder te helpen.
Meer info vind je in ons privacybeleid.