Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Is there a particular reason as to the change from Rails? I mean, if you arr happy with it and you know it, why change?
-
dmonkey21956yMay I ask you why does Rails give this kind of experience? It's not the first time I hear about this and I'm curious
-
@AleCx04 just a few reasons, not too many:
* the throughput is kinda low
* async in ruby is not as easy as in js
* rails is server side MVC, which I'm not too interested in right now, since I can use server side vue. -
@dmonkey I honestly don't know where to start.
I guess I could say that Rails is the ultimate out of the box web MVC experience. And the API is one of the easiest to understand and yet powerful I've ever seen.
There are little aspects of an MVC that it doesn't pull off in an awesome and simple way:
* Code generation
* db schema generation
* Unit, integration and system tests
* Sensible config defaults
* Jesus christ, the rails helpers pretty much thought of any real use case possible.
* The holy console that lets you mutate the data right from a terminal.
* Translation ready to customize
* The gems (think of node's npm) are simply AMAZING.
Rails is written in Ruby, a language with the prettiest and featureful standard library I've seen.
When you see Rails/Ruby you usually understand what methods do in glances, because ruby people tend to have high standards when it comes to writing code. They like their methods short and tested. -
@erandria what does being able to use ssr have to do with an architecture pattern? Rails obviously has server side rendering as well. And since it has proper concurrency support you can use threads, which for Ruby they do not block web requests == performance.
And you don't even need to use Rails, you can go for Padrino or Sinatra.
If you are hell bent on using something else and you are already familiar with Javascript. Why not stick to a JS solution? Koa is really great, super minimalistic and easy to use. There is also Nest, which provides a more established solution with generators, it does; however, use Typescript for its dev language.
Related Rants
-
mcraz17Someone advised him that WP runs faster on Ruby. Now, he wants me to port WordPress to RubyOnRails !!!
-
ausername3Just solved a bug I was trying to solve for hours. Oh, the pleasure of closing 12 tabs at once without wanting...
-
vedipen19Elon Musk makes a front end website containing a single alphabet in html and everyone loses their mind. Meanwh...
Does anyone have an alternative web framework mostly for an API? Much appreciated if Graphql out of the box.
One "pillar" of Rails is that it's done to optimize programmer happiness. My experience with Rails turned out to be true in that sense.
I was wondering if there's an alternative that could emulate that experience.
question
alternative
rails