News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by midrus on Monday May 17, 2021 @01:14AM (#27180266)
Even if you are talking about SSR such as how Next.js does it, you wouldn't be spanning processes from your ruby/php application. You would deploy it as a separate application responsible of the frontend, using your ruby/php application as a backend service providing an API.

An alternative is to just serve the HTML from your ruby/php and then take over in the frontend, but this is more complex and not worth it in my opinion.

Re:Modern Javascript: Everything you missed over the last 10... by deergomoo on Monday May 17, 2021 @06:09AM (#27181811)
> An alternative is to just serve the HTML from your ruby/php and then take over in the frontend

This is still incredibly common for apps that are mostly server rendered but use React/Vue etc "sprinkled" through the codebase for more complex bits of UI.