4 ms·
Better alternatives could be one of NodeJS frameworks, Play in Scala and Dropwizard for Java. They could be better in the sense, that I can share a JS library b
by gshakir 11y ago
Better alternatives could be one of NodeJS frameworks, Play in Scala and Dropwizard for Java. They could be better in the sense, that I can share a JS library between the API and Frontend or I can share a JVM library between the API/Infrastructure layer.
- ch4s3 11y agoSo I've been using Rails in production for a few years now, and its pretty good. I'm sure there are better options for a number of specific domains. I also use Dropwizard(because I need to use a few java only libraries) and dropwizard is in no way better than rails, except in the number of requests per second it can handle. It is a pain to set up compared to rails, the docs are terrible, it forces you to use maven and they refuse to help you with gradle. There are very few Stack Overflow answers, and thats a problem, because Dropwizard offers few sensible defaults, its configuration all the way down. And generally, the lack of livereload makes web development a pain in java. Can't speak to Play though.
- vorg 11y ago> Dropwizard [...] forces you to use maven and they refuse to help you with gradle The configuration syntax (YAML) shown in https://dropwizard.github.io/dropwizard/manual/configuration.html https://dropwizard.github.io/dropwizard/manual/configuration... looks quite nice. It says there you can use JSON instead. The syntax Gradle uses (i.e. Groovy) has a lot of cruft, including even a full programming language, which can be misused in build config files so best steer clear.
- aikah 11y ago> I can share a JVM library between the API/Infrastructure layer. Rails run perfectly on the JVM.