Re:I Miss Rails
by chanind on Thursday March 28, 2019 @07:37PM
(#19517733)
Oddly I never considered starting a new project with it, but now I'm questioning why that is. I guess I just don't see many new projects started in Rails, and nowhere I've worked the past few years uses it. I stopped using it after Rails 3, but I'll give it a try again in the next side-project I work on and see how it goes.
[ Parent
| on HN ]
Re:I Miss Rails
by bunderbunder on Thursday March 28, 2019 @07:53PM
(#19517829)
> why that is
We as a profession seem to be perennial victims of availability bias.
We're naturally going to think of the stuff we've been reading about lately on the Internet first. Which is just never going to be the established and stable stuff that'll let you get your job done without producing any blog-worthy experiences in the process. "Went home after 8 hours without producing any fodder for war stories" doesn't make for an interesting tweet, let alone post on Medium.
Re:I Miss Rails
by jacobsenscott on Thursday March 28, 2019 @07:47PM
(#19517794)
Server side rendered is still fantastic for the vast bulk of web apps. Turbolinks and a bit of care around performance and all you users know is you have a fast site. Not many apps really need the super rich SPA type experience.
Re:I Miss Rails
by tomaskafka on Friday March 29, 2019 @09:26AM
(#19521425)
This. And it takes a LOT of work to emulate everything browsers give you for free on server side pages (caching, back button, reload to continue on connection loss ...)
Re:I Miss Rails
by brightball on Friday March 29, 2019 @09:50AM
(#19521649)
And you can take this approach to the next level with Phoenix LiveView that’s in its testing phase right now. Server rendering is so fast in Phoenix that it had a lot of people clamoring for a turbolinks-like solution to the problem.
It’s not perfect yet, but as a first version is remarkably capable already.
Re:I Miss Rails
by jacobsenscott on Friday March 29, 2019 @12:29PM
(#19523090)
I heard someone on the ruby rouges podcast say they got turbolinks to work on Phoenix pretty easily.
Honestly I have stopped trusting 'the herd' as a metric as it seems we programmers are more enticed by shiny things than practicality or excellence in engineering
Rails is used heavily even for new projects under the GOV.UK umbrella. The emphasis on accessibility and usability of government sites/applications weigh in favour of more-traditional stacks.