Slick

Scala Language Integrated Connection Kit. Slick is a modern database query and access library for Scala (by slick)

Slick Alternatives

Similar projects and alternatives to Slick

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Slick alternative or higher similarity.

Suggest an alternative to Slick

Reviews and mentions

Posts with mentions or reviews of Slick. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-21.
  • 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.
  • Scala 3.0.0-RC2 Has Landed
    5 projects | reddit.com/r/scala | 30 Mar 2021
    Slick is community-maintained these days. It appears likely this PR adding Scala 3 support will cross the finish line before too much longer: https://github.com/slick/slick/pull/2187
  • Just getting started with scala. Should i start with Scala 2 or just skip to scala 3 right away ?
    1 project | reddit.com/r/scala | 22 Mar 2021
    re: Slick, hopefully https://github.com/slick/slick/pull/2187 will land soon-ish. Stefan did much of the work himself a while back; now a volunteer is trying to put the finishing touches on.
  • From First Principles: Why Scala?
    11 projects | news.ycombinator.com | 11 Feb 2021
    The two major SQL libraries in the Scala ecosystem these days are Doobie (https://tpolecat.github.io/doobie/) and Slick (https://scala-slick.org/).

    With Doobie you manually write your queries, and then map the results into the objects in your domain model. Nothing is generated for you. OTOH, nothing is hidden and you are free to write queries as optimized and specialized as you need. The real selling point of Doobie is a typesafe API for manipulating and combining queries, and fragments of queries, into larger wholes. This works very well when your application interfaces with a database it doesn't own.

    With Slick you get access to a DSL that lets you layout how your tables look. From there Slick offers an api that let's you treat SQL tables as-if they are basically mutable collections, with Slick handling all the SQL generation itself. You also get DDL, so that you can automate db creation and upgrades. This work very well when your application owns and controls the database it is connecting to.

    Both of these have diverged from that traditional ORM model. Slick bills itself as FRM, or Functional Relational Mapping. And Doobie is embedded queries on steroids.

    11 projects | news.ycombinator.com | 11 Feb 2021
    they never said that, but it's basically abadonware. look at the commit history: https://github.com/slick/slick/commits/master you can also look at the contributors page: https://github.com/slick/slick/graphs/contributors the guys who primarly contributed to it basically left lightbend, and in 2019 he shifted his priorities.
  • Objection to ORM Hatred
    6 projects | news.ycombinator.com | 9 Feb 2021
    Many ORMs introduce a somewhat messy, complicated abstraction layer that doesn't actually get you the desired benefit in statically typed languages - compile time safety. Mainly because most languages do not have sufficiently powerful type systems.

    Exceptions are libraries like persist [1] for Haskell, Slick [2] for Scala, and - with caveats - Diesel [3] for Rust.

    But: manually mapping between the database domain and your domain objects is also a messy, error prone process that is wasted effort.

    My preferred solution is to stick with simple ORMs that just do simple mapping and provide a convenient query builder, without any heavy magic in the objects or any sort of automatic relationship logic (automatic fetching of joins, ...).

    [1] https://hackage.haskell.org/package/persistent

    [2] http://scala-slick.org/

    [3] http://diesel.rs/

Stats

Basic Slick repo stats
6
2,497
8.6
3 days ago

slick/slick is an open source project licensed under BSD 2-clause "Simplified" License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote jobs at our new job board 99remotejobs.com. There are 33 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.