|almost 5 years ago||4 days ago|
|GNU General Public License v3.0 or later||Apache License 2.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Scala: A Love Story
4 projects | dev.to | 21 Apr 2021
I purchased the very entertaining book Seven Languages in Seven Weeks. Although I found Haskell fascinating and tempting, I knew it was unrealistic to introduce it in our company. Scala on the other hand looked like it could be the holy grail: All the characteristics I was looking for, no need to abandon the JVM and its cornucopia of tools and libraries, and the possibility for coexistence with Java and therefore incremental adoption. After implementing some simple programs to identify any immediate risks of committing to the language and its ecosystem, I started to introduce Scala in customer projects. Luckily, I was fortunate enough to work with open-minded, curious, and ambitious team members who were also experienced enough to appreciate the benefits of the language. We immediately applied our experience with functional programming, and embraced immutability. Libraries like Slick and Akka HTTP (we actually started out with its predecessor, Spray) made building database-backed REST services a breeze. And the resulting code was robust and highly maintainable. Scala's expressive type system and type inference made it easy to build a restrictive, consistent domain model without bloating the code. There was virtually no overhead. Any boilerplate could be easily abstracted out. In the end, the application code felt natural, concise and elegant. Programming was fun again.
Typelevel: On Recent Events
9 projects | reddit.com/r/scala | 15 Nov 2021
I don't think this is toxic but still, it doesn't sit well with me: https://github.com/http4s/http4s/issues/47189 projects | reddit.com/r/scala | 15 Nov 2021
Akka became the de-facto solution for Scala web development?
6 projects | reddit.com/r/scala | 18 Sep 2021
Any HTTPS web proxy library in Scala?
4 projects | reddit.com/r/scala | 6 Aug 2021
Here is a possible sketch with the functional http4s library. In http4s, both Http clients and servers are modelled as functions from Http requests to an Http response generated from an IO action. This would be like a function Request => IO[Response], which in http4s is called an HttpApp.
Building a REST API in Scala 3 using Iron and Cats
5 projects | dev.to | 27 Jul 2021
A library like Express.js?
7 projects | reddit.com/r/scala | 26 Jul 2021
Have you checked http4s? I'm using it as a lightweight HTTP server with routing, etc. It might be not your cup of tea, if you don't use pure functional programming, etc, though.
Why Typelevel hates ZIO?
7 projects | reddit.com/r/scala | 6 Jul 2021
Is there a library which allows to manage websocket connections?
1 project | reddit.com/r/scala | 1 Mar 2021
The other day I was also trying to get rid of akka stack and replaced it with http4s for server and sttp for client (http4s websocket client support is in open state for more than 5 years for now: https://github.com/http4s/http4s/issues/330). It still works pretty well, especially since they both can be built from fs2 steams.
Example of building web apis (functionally) in Scala
12 projects | reddit.com/r/scala | 16 Feb 2021
http4s, https://http4s.org/, its a good lightweight framework for building IO based REST APIs.
Does anyone here (intentionally) use Scala without an effects library such as Cats or ZIO? Or without going "full Haskell"?
5 projects | reddit.com/r/scala | 8 Feb 2021
On the backend, I use http4s with Cats Effect, but I don't think in terms of purity or category theory, I just use IO as a nicer Future.
What are some alternatives?
Akka HTTP - The Streaming-first HTTP server/module of Akka
sttp - The Scala HTTP client you always wanted!
Finch.io - Scala combinator library for building Finagle HTTP services
ZIO - ZIO — A type-safe, composable library for async and concurrent programming in Scala
scalaj-http - Simple scala wrapper for HttpURLConnection. OAuth included.
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
Scalaxb - scalaxb is an XML data binding tool for Scala.
FS2 - Compositional, streaming I/O library for Scala