@ddc3da8f @90991173 @ec7374a8 @aecfae5b
For all of the complaints and flaws, PHP is a mature, well supported language. It has more years of code written for it then literally any other language in common use today, save maybe C, simply because It's been around since the very early days of HTML.
Sure, it was meant to automate the layouts and some of the content of small homepages, but there's been solid support for it for all that time, and development in good faith for the purpose of being used by everyone. ASP and other imitators never had that going for them, they never even got off the ground compared to PHP.
For the entire time I've been programming in PHP, people have said it's on the way out... And yet everything they said would replace it has either become a legacy language you have to struggle to maintain work in, or a dead language you had to scramble to convert your work over from.
I wouldn't be surprised if it stays relevant for another 15 years.
@f8dfc7e8 @90991173 @ec7374a8 @aecfae5b
I hope PHP or fork will stay with us, and move to Typescript native in the browser + more use of Web Assembly (not just crypto mining ⚒), long live PWA!
BTW I am PWA early adopter, ran Twitter, Instagram, Google News and currently Mastodon as PWA (unf. have installed Android Mastodon too as it can accept shared images - PWA can do that too, Twitter has that feature) ❤️
@ddc3da8f @90991173 @ec7374a8 @aecfae5b
PHP just has too much legacy code still running in it, too many people still using it, too many people still willing to maintain it as a useful standard language, for it to really die at this point.
Other languages I've seen die did so because either there was a proprietary developer backing them who lost interest in maintaining them, or because people just didn't want to use them.
Honestly, I wouldn't be surprised if Google pulled the plug on Go or Rust or whatever they're pushing right here without warning tomorrow, simply because they don't have the attention span. I also wouldn't be surprised if Microsoft came out with another one that turned out to just be a pile of problems touting features that have been standard everywhere else for the past decade.
PHP has its issues, but we can at least trust that it will be there tomorrow, with plenty of support for whatever we need.
@ddc3da8f @f8dfc7e8 @ec7374a8 @aecfae5b the only big limitation of PWA has been Apple not supporting web push notifications, well this has recently changed. I love PWA and their independence on app stores. However I would doubt PHP will ever do it to browser side, you may compile it into wasm and with some react trickery to get it working. But it will ultimately fails the same way as pyscript loading 5MB before app even starts.
@90991173 @f8dfc7e8 @ec7374a8 @aecfae5b
there's Python implementation for Web Assembly, my friend works on Golang PWA app (slow dev, many problems, can't easily add JS fns to the DOM)
@90991173 @f8dfc7e8 @ec7374a8 @aecfae5b
Apple has many limitations, it's their war on Google
I was perplexed that you even can't use NFC from iPhone to read payment cards
(Global Payments say you must have Android phone)