News for hackers. Stuff that matters.
Re:Htmx Is the Future by PaulHoule on Friday May 05, 2023 @12:21PM (#35831471)
As I see it though, node.js on the backend is not mainstream, most sites are still using JVM or other back ends. Using the same code for the front end and the back end is a dream that has been pursued in various forms but it isn’t mainstream.
Re:Htmx Is the Future by emodendroket on Friday May 05, 2023 @12:31PM (#35831639)
Man... if you don't think node.js on the backend is mainstream at this point I don't know what to tell you. It's not even the hyped-up new thing anymore.
Re:Htmx Is the Future by sidlls on Friday May 05, 2023 @01:50PM (#35832759)
Being not hyped up doesn’t mean it’s mainstream. Most backends are in Java, Go, or PHP. Python and Ruby take up most of those that aren’t. It’s rare to find node on the backend in comparison.
Re:Htmx Is the Future by emodendroket on Friday May 05, 2023 @01:53PM (#35832796)
I don’t agree that Go is more common than node (or other options you did not mention like .NET).
Re:Htmx Is the Future by iainmerrick on Friday May 05, 2023 @10:33PM (#35837413)
I wonder if part of the confusion here is that “backend” is pretty overloaded. There are backends like API servers, and web server backends (which at Google they call “frontends”!)

I’d guess that Go is relatively more popular than Node for API servers, and Node is more popular for web servers.

And as you note, both are probably less popular than languages like Java and PHP.

Re:Htmx Is the Future by austinthetaco on Saturday May 06, 2023 @04:36PM (#35845155)
NodeJS is one of the most popular API servers out there. Express is wildly popular, more popular than ASP.net laravel according to the professional developer survey https://survey.stackoverflow.co/2022/#most-popular-technolog...
Re:Htmx Is the Future by cutler on Friday May 05, 2023 @05:46PM (#35835508)
Go more ubiquitous than Node.js? In your dreams.
Re:Htmx Is the Future by austinthetaco on Friday May 05, 2023 @04:02PM (#35834453)
according to the latest stackoverflow developer survey, NodeJS is extremely common and used quite a bit more than things like ASP.net (https://survey.stackoverflow.co/2022/#most-popular-technolog...)
Re:Htmx Is the Future by shearos on Saturday May 06, 2023 @03:57PM (#35844837)
is node included when choosing front ends like react or vue?
Re:Htmx Is the Future by austinthetaco on Saturday May 06, 2023 @04:22PM (#35845054)
no. NodeJS is different than NPM (which is often used to install react/vue). NodeJS is the backend technology