Live data from Hacker News

Usage statistics of server-side programming languages for websites

w3techs.com

11–20 of 284 posts

Re: Usage statistics of server-side programming languages for websites

#12
post #5

I'm curious how this changes if you remove PHP being used for WordPress (where the people using it probably didn't choose it). Do lots of companies still choose PHP for brand new projects? I know Facebook has a dialect they still use, but you don't hear much about it anymore.

Yeah they do, PHP has a few frameworks like Laravel (inspired by Django iirc) that can be used to work on organized web projects. The nice thing is, you know you can host it online for pennies when you're all done. One of my web hosts has a $8 a year plan for example.

Re: Usage statistics of server-side programming languages for websites

#13

I wonder how much the results of this are skewed because PHP reports via the server response header that it is being used. Other languages like Elixir, Go, etc aren't so public about their usage unless one of their web frameworks adds it. I'd also love to see a study like this instead focused on "How much of the active web is wordpress?" and "How much of the inactive web is wordpress?".

Still, you can use it to gauge PHP to non-PHP. And there is an unknown percentage of PHP sites which turn this header off.

Re: Usage statistics of server-side programming languages for websites

#15
This is probably correct and a lot of software still uses PHP. Wordpress being one of the huge ones. I actually see a lot of people still developing in PHP, though my own involvement finished years ago. I think because we sometimes operate in a bubble, it's always a surprise to see this

Re: Usage statistics of server-side programming languages for websites

#16
post #11

How did Ruby increase that much lately? Also, I'm surprised Python isn't more popular. 1% is (comparatively) tiny for a language that popular.

How would you tell a given page was generated by some Python or Ruby webframework? There aren't any headers these use (like PHP usually does), so you'd have to look for more subtle cues like the name of session cookies or perhaps patterns in the way static files are addressed.

The same goes for pretty much everything on that list which isn't PHP or .NET.

Re: Usage statistics of server-side programming languages for websites

#17
post #5

I'm curious how this changes if you remove PHP being used for WordPress (where the people using it probably didn't choose it). Do lots of companies still choose PHP for brand new projects? I know Facebook has a dialect they still use, but you don't hear much about it anymore.

According to the Stack Overflow Developer Survey it's the 11th most used technology, between C and C++ [1]. It's no Java or NodeJS, but it's still widely used.

1: https://insights.stackoverflow.com/survey/2021#technology

Re: Usage statistics of server-side programming languages for websites

#18
post #5

I'm curious how this changes if you remove PHP being used for WordPress (where the people using it probably didn't choose it). Do lots of companies still choose PHP for brand new projects? I know Facebook has a dialect they still use, but you don't hear much about it anymore.

Tons of companies still use PHP even for new projects. Likely in part due to its market saturation - it's incredibly easy to find PHP developers.

Only developers complain about PHP. And even that isn't really warranted anymore as PHP has grown leaps & bounds since most of the hate.

Post reply on HN