Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
JDBI
The Jdbi library provides convenient, idiomatic access to relational databases in Java and other JVM technologies such as Kotlin, Clojure or Scala.
-
javalin
Discontinued A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I would use it at work because I know it. There are a LOT of libraries in Scala for HTTP up to database stuff, and it really depends on what kind of ecosystem you're walking into:
* Scala as Python: https://github.com/com-lihaoyi/cask, maybe https://github.com/getquill/quill
* Scala as Haskell: HTTP4s, https://tpolecat.github.io/doobie/
* Scala as Rails: Play
Play is the closest thing to Rails-like CRUD productivity IMO, and honestly for CRUD most times I would like to write as little code as possible and just get it done, even using low/no-code solutions (postgrest, hasura, htmx), but that wasn't the question :)
I would use it at work because I know it. There are a LOT of libraries in Scala for HTTP up to database stuff, and it really depends on what kind of ecosystem you're walking into:
* Scala as Python: https://github.com/com-lihaoyi/cask, maybe https://github.com/getquill/quill
* Scala as Haskell: HTTP4s, https://tpolecat.github.io/doobie/
* Scala as Rails: Play
Play is the closest thing to Rails-like CRUD productivity IMO, and honestly for CRUD most times I would like to write as little code as possible and just get it done, even using low/no-code solutions (postgrest, hasura, htmx), but that wasn't the question :)
I highly recommend the following stack:
JVM Language: Java 11+
Webserver: https://javalin.io/
Templating: https://j2html.com/
Enhanced html attributes: https://htmx.org/
Database helper: http://jdbi.org/
Sqlite or Postgres depending on the expected scale.
The startup time is very fast. I usually see times under a second, which makes iterative changes significantly less painful than something like Spring.
Also setup is ridiculously simple, just throw those libraries in a pom file and use a CDN for htmx. No front end build tools needed since htmx removes the need for most if not all of your javascript.
The whole setup feels kind of old school, but man it makes developing CRUD apps dead simple again.
Lastly, project onboarding is as simple as having someone download intelij and pulling the project. The built in maven and jdk to intelij is all they need. That is as long as you don't need them to run their own Dev database instance, but that's not the end of the world if you utilize docker.
Even if you decide on something else take a look at the above libraries, they're all pretty fantastic.
I highly recommend the following stack:
JVM Language: Java 11+
Webserver: https://javalin.io/
Templating: https://j2html.com/
Enhanced html attributes: https://htmx.org/
Database helper: http://jdbi.org/
Sqlite or Postgres depending on the expected scale.
The startup time is very fast. I usually see times under a second, which makes iterative changes significantly less painful than something like Spring.
Also setup is ridiculously simple, just throw those libraries in a pom file and use a CDN for htmx. No front end build tools needed since htmx removes the need for most if not all of your javascript.
The whole setup feels kind of old school, but man it makes developing CRUD apps dead simple again.
Lastly, project onboarding is as simple as having someone download intelij and pulling the project. The built in maven and jdk to intelij is all they need. That is as long as you don't need them to run their own Dev database instance, but that's not the end of the world if you utilize docker.
Even if you decide on something else take a look at the above libraries, they're all pretty fantastic.
I highly recommend the following stack:
JVM Language: Java 11+
Webserver: https://javalin.io/
Templating: https://j2html.com/
Enhanced html attributes: https://htmx.org/
Database helper: http://jdbi.org/
Sqlite or Postgres depending on the expected scale.
The startup time is very fast. I usually see times under a second, which makes iterative changes significantly less painful than something like Spring.
Also setup is ridiculously simple, just throw those libraries in a pom file and use a CDN for htmx. No front end build tools needed since htmx removes the need for most if not all of your javascript.
The whole setup feels kind of old school, but man it makes developing CRUD apps dead simple again.
Lastly, project onboarding is as simple as having someone download intelij and pulling the project. The built in maven and jdk to intelij is all they need. That is as long as you don't need them to run their own Dev database instance, but that's not the end of the world if you utilize docker.
Even if you decide on something else take a look at the above libraries, they're all pretty fantastic.