Live data from Hacker News

An Internet of PHP

timotijhof.net

41–50 of 333 posts

Re: An Internet of PHP

#42

At the end of the day if your software works and users like it, does the programming language even matter?

It does, language comes with culture, I'm polyglot and the amount of horrors I've seen in php3/4 days was on par with legacy cobol.

It was too sweet on effectful code around random maps (what's not to like, you can do whatever and spend hours trying to find the right combination of stdlib array_ functions until something happens).

Of course things change after the nonphp6. But if someone only knows and love php I'll check twice before working with him. I'm actually dealing with someone like that right now.

Re: An Internet of PHP

#43
post #38
post #33

Earlier quoted context omitted.

It’s like meeting someone in 2023 who hates Micro$oft WinBLOWZ. Have they been stuck in stasis for 20 years? What other values from the 9/11 era do they hang on to?

This reminds me of the sysadmin at a Greek university I once worked in back in 2009 or so. He had installed Linux at every one of the computer labs' computers. He'd changed the startup software to describe Windows as Windows UnProfessional. The default was Linux, and it would boot within 3 seconds unless you quickly changed it. Under Linux he'd included all the Gnome 2 window manager flash, including spinning cubes a…

A budding RMS!

Re: An Internet of PHP

#44
post #8

Earlier quoted context omitted.

I agree that it should not matter but there are people out there who really have strong feelings about PHP. I understand those strong feelings because PHP was very popular since it was on every shared host and it was super easy to quickly whip up scripts that render dynamic pages back in the day. That ease had consequences that PHP is trying to dig out from under to this day. I personally reach for PHP first for all…

Still do this day I don't know of any serverside language that you can just drop files into to update.

Next.js is a bit like this. In at least it does the 1-1 file to route mapping. Not drop in on the server but is so on the dev machine.

Re: An Internet of PHP

#45
post #33

"PHP is dead" is dead. The amount of people praising PHP these days is quite high and increasing. Of course I may also be in a bubble (of php devs), but I have seen a constant increase from JS-people starting to look (and in some cases, convert to) php. Also, many new youtube videos highlighting the new stuff in the language, how modern it is, etc. Honestly, anyone that blindly criticizes or dismisses php these days,…

It’s like meeting someone in 2023 who hates Micro$oft WinBLOWZ. Have they been stuck in stasis for 20 years? What other values from the 9/11 era do they hang on to?

Ironically since windows 11, after being pro windows since version 3.11 I have pretty much turned disdainful to Micro$hit WangBLOWz. What a time to be alive.

Re: An Internet of PHP

#46

Earlier quoted context omitted.

> The ability to interleave code and HTML was also tacky and never taken seriously And yet people would take a bullet for React and the JSX templates.

Funny how "server side rendering" became a hot new thing too. I was so confused when I heard that, "like... a HTML file?". Keep going at this rate and we'll be using frames again.

> using frames again.

That’s pretty much what htmx is…

Re: An Internet of PHP

#47
From W3Tech;

> PHP is used by 77% of all the websites whose server-side programming language we know.

I had a quick look at the methodology section, but it’s not clear to me how accurate this data is. Determining whether a site uses PHP can be relatively straightforward (especially with default extensions / if Wordpress is used / etc), but if a site (potentially using a different language) is behind a reverse proxy/uses an API/etc then it is less clear. Does anyone know whether PHP is over-represented in the results because it’s easy to identify?

No doubt PHP is still huge, but 77% seems almost too huge. There is also a very good chance that PHP is actually that big and I’m just in a different crowd.

Re: An Internet of PHP

#48

php runs securely in 5minutes in any web server 3-10$/month. Every other tech, it's complicated servers or complicated billing, not to mention depencies and build tools. thats why php

Not sure why it is downvoted as this is true. That said it is more to do with shared hosts culture choosing PHP than PHP itself. (They tend to support Ruby and Node but not as well)

Re: An Internet of PHP

#49

I feel like a lot of this is mostly a commentary on WordPress.

Which it should be, since WordPress is such a huge part of the PHP ecosystem. Laravel is a distant second.

To talk about PHP without mentioning WordPress, whether in a good light or not, would be like discussing Ruby without mentioning Rails.

Re: An Internet of PHP

#50

From W3Tech; > PHP is used by 77% of all the websites whose server-side programming language we know. I had a quick look at the methodology section, but it’s not clear to me how accurate this data is. Determining whether a site uses PHP can be relatively straightforward (especially with default extensions / if Wordpress is used / etc), but if a site (potentially using a different language) is behind a reverse proxy/u…

Idle musing, but this is likely correct. If someone who isn't tech-minded is throwing together a quick blog in WordPress or something chances are they aren't going the extra mile to change the headers or add a reverse proxy just to obfuscate that they're using a stock WordPress install.
Post reply on HN