News for hackers. Stuff that matters.
Re:Autotuner: How to Speed Up Your Rails App by bdcravens on Thursday April 25, 2024 @01:06PM (#40160152)
I remember what happened in the early 2000s and how companies pulled back on the tech they were using. A few years ago I was convinced that fat front-end stacks are a luxury of companies with "free" money, and that the industry would be making tough choices. (To be clear, there are applications that the SPA approach is best for, but many applications are being built that could just as well be served by an old-school PHP and Jquery app)
Re:Autotuner: How to Speed Up Your Rails App by gedy on Thursday April 25, 2024 @04:53PM (#40162871)
I feel like this opinion is a bit stale, many companies use tools like NextJS, and it's as productive as Rails and not what I'd call "fat". The biggest issue some folks have are there's no standard ORM yet (maybe Prisma), but ORMs are not so critical with node or js based apps imho.
Re:Autotuner: How to Speed Up Your Rails App by bdcravens on Thursday April 25, 2024 @10:39PM (#40165416)
I do like how NextJS has done a good job of bridging the gap between SPAs and classical back-end apps (for example, file-based routing). My understanding (with limited experience) is that the deployment story is great for Vercel, and less so for other platforms (requiring you to own a lot of the build pipeline, which is one of the bigger pain points of modern JS)
Re:Autotuner: How to Speed Up Your Rails App by realusername on Saturday April 27, 2024 @01:24AM (#40177496)
I struggle to see how you could maintain a large backend app without a good ORM to support it, that would be painful for sure
Re:Autotuner: How to Speed Up Your Rails App by bdcravens on Saturday April 27, 2024 @10:04AM (#40180030)
It was done before ORM became en vogue using SQL and recordsets. When it got too hairy we'd just put an abstraction in place, similar to how many apps end up doing the same atop the ORM via service objects, etc.
Re:Autotuner: How to Speed Up Your Rails App by realusername on Saturday April 27, 2024 @02:51PM (#40182418)
Yeah you always can but you end up with an in-house kind of ORM and those tend to not evolve too well in my experience.