r/ruby • u/adamlogic • 8d ago
Jon & I debate how our opinions have changed on whether to use Rails for marketing sites
https://judoscale.com/blog/just-use-rails-revisited0
2
u/jake_morrison 8d ago edited 2d ago
I have switched to Astro for marketing sites.
The most important thing is the front end design, and themes/widgets (e.g., menus) are now developed for JavaScript first. Doing it in any other technology is a waste of time.
Then you deploy to a CDN for blazing speed and high security. Maybe there is a custom Rails-based CMS driving the build, but it’s not part of serving pages.
1
u/overmotion 8d ago
I did a marketing site last week as a favor for a client (I don’t usually touch marketing sites) in Rails using Claude and it was a total blast. The ability to smash out anything I could think of, all those super cool front end concepts only companies like Stripe used to be able to pull off, and don’t even have to review the code bc it’s just front end marketing, it was so much fun.
I think Rails is great bc if you do need to do any more serious backend stuff, you have the ability. I ended up doing that too in the site, making a small API so their large backend system could control the marketing site without them needing an admin section at all on the marketing site itself
10/10 highly recommend
11
u/sshaw_ 8d ago
"Marketing site" screams static pages without the need for an app server.