Structuring Code with ZIO & ZLayers

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/scala

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • zio-magic

    Construct ZLayers automagically (w/ helpful compile-time errors)

    I made a lil' library to help a bit with this—sort of macwire just for ZIO https://github.com/kitlangton/zio-magic

  • MacWire

    Lightweight and Nonintrusive Scala Dependency Injection Library

    One easy reason is that macwire won't be available for Scala 3 (https://github.com/softwaremill/macwire#scala3) 😉

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • polysemy

    :gemini: higher-order, no-boilerplate monads

    *But I'm not terribly well versed in Scala's other DI offerings. I came from Haskell and didn't find anything in Scala that clicked with me until I found ZIO. It reminded me a lot of my favorite way of writing Haskell programs (https://github.com/polysemy-research/polysemy)—albeit with a completely different implementation.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts