News for hackers. Stuff that matters.
Re:It's not Ruby that's slow, it's your database by arkis22 on Tuesday November 08, 2022 @08:18PM (#33526501)
rails, postgres, PORO, and htmx is a monstrously productive stack
Re:It's not Ruby that's slow, it's your database by iamgopal on Tuesday November 08, 2022 @08:24PM (#33526555)
Any examples?
Re:It's not Ruby that's slow, it's your database by arkis22 on Tuesday November 08, 2022 @08:55PM (#33526737)
you're looking for what? my personal million dollar website or my billion dollar startup?
Re:It's not Ruby that's slow, it's your database by boredtofears on Wednesday November 09, 2022 @02:05AM (#33528326)
just any evidence to back up your argument
Re:It's not Ruby that's slow, it's your database by arkis22 on Wednesday November 09, 2022 @08:17PM (#33540871)
just my years of experience, sorry
Re:It's not Ruby that's slow, it's your database by ithrow on Tuesday November 08, 2022 @10:04PM (#33527099)
If you are one Rails, why not the hotwire stuff?
Re:It's not Ruby that's slow, it's your database by arkis22 on Wednesday November 09, 2022 @08:16PM (#33540856)
https://github.com/hotwired/hotwire-rails

deprecated. they use stimulus and its worse obfuscated JS than htmx IMO

Re:It's not Ruby that's slow, it's your database by Lio on Wednesday November 09, 2022 @03:35AM (#33528814)
Personal opinion, if I was going to use htmx with a PORO backend I'd probably go for Roda[1] and Sequel.

If it was going to be read heavy I think I'd also pair that with SQLite for low latency and cheaper deployments.

If I didn't know exactly how requirements are likely to change over time I'd probably go with with Rails, Postgres[2], Redis and Hotwire. You can go a long way with that and a small team.

1. https://roda.jeremyevans.net/index.html

Re:It's not Ruby that's slow, it's your database by aaron_m04 on Wednesday November 09, 2022 @12:27PM (#33534883)
What is PORO?
Re:It's not Ruby that's slow, it's your database by arkis22 on Wednesday November 09, 2022 @07:13PM (#33540234)
plain old ruby object. basically you take your truth from the database and you plug it into an object that takes the data and functionally produces a data output that you feed to your view.