Earlier quoted context omitted.
Java is very much in ascendence.
Even if there weren't any technical reasons not to use Java or better alternatives, the elephant (or lawnmower) in the room is Oracle.
PHP Popularity: Is it decreasing and what to do about it?
51–60 of 166 posts
Re: PHP Popularity: Is it decreasing and what to do about it?
#52Professionally I work with python and node a lot, but everytime I need a backend for my personal projects PHP is my go to language.
Would you like to elaborate your reasons?
I find php easy to write, i can get an API running with a few lines of code without any library, and I find it very easy to deploy.
Re: PHP Popularity: Is it decreasing and what to do about it?
#53But I've always said that PHP's popularity was due to its availability on free hosting providers. However nowadays, you can get free hosting for a plethora of languages. So more competition, and also there are so many more languages that are competing for the backend nowadays.
Re: PHP Popularity: Is it decreasing and what to do about it?
#54PHP has already been "rebranded". When people try to dunk on PHP for supposedly being awful, people are quick to point out that that's all from "pre-PHP 5.6" and that "PHP 7/8" are bringing all kinds of excellent features, functionalities, and refinements The author links to the person thinking that HypeScript is a good name. He says: "The name HypeScript sounds like a logical name for me, it pays its respect to the…
Edit: Wikipedia says "PHP was originally an abbreviation of Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor."
Re: PHP Popularity: Is it decreasing and what to do about it?
#55PHP has already been "rebranded". When people try to dunk on PHP for supposedly being awful, people are quick to point out that that's all from "pre-PHP 5.6" and that "PHP 7/8" are bringing all kinds of excellent features, functionalities, and refinements The author links to the person thinking that HypeScript is a good name. He says: "The name HypeScript sounds like a logical name for me, it pays its respect to the…
Did not read the article, but hyperscript already exists: https://hyperscript.org/
Re: PHP Popularity: Is it decreasing and what to do about it?
#56Earlier quoted context omitted.
Even if there weren't any technical reasons not to use Java or better alternatives, the elephant (or lawnmower) in the room is Oracle.
C# is pretty good, but Visual Studio dependence is a crutch.
Re: PHP Popularity: Is it decreasing and what to do about it?
#57Earlier quoted context omitted.
People always seem to come up with the argument that you can drop an index.php in a folder and be done with it. Only nobody uses php that way since decades. Modern php code uses Frameworks, Package mangers, opcode caching, and application servers. It’s just that other languages don’t carry all the cruft php has in its heritage…
The drop index.php into a folder is the only way I use PHP now. Back when I was building applications in PHP it was all frameworks. package managers, op code caching, etc. But I no longer do PHP development but for my own personal websites I still use PHP but in that most minimal form.
So where is the hyper-simple JS equivalent for that class of non-enterprise projects, is what I wonder...the enterprise stuff has always been heavy and loads projects down with maintenance debt.
Re: PHP Popularity: Is it decreasing and what to do about it?
#58Earlier quoted context omitted.
What's the JS equivalent of "place an index.php file in a folder to deploy"? What's the JS FOSS equivalent of ProcessWire as a CMF + CMS? What's the JS equivalent to e.g. DreamHost and other drag + drop hosts? (Legitimately curious, and I'm mainly inquiring after equivalents-for...better-thans would definitely be interesting)
Oh that's easy - just install 10 insecure npm packages that each install another 10 npm packages (some of which are even maintained!) then make sure you remember to bundle it up in a nice, heavy electron wrapper. Then you're all ready to distribute it via some random App Store - just don't forget to charge a monthly subscription while you're at it. /s
Re: PHP Popularity: Is it decreasing and what to do about it?
#59Earlier quoted context omitted.
What's the JS equivalent of "place an index.php file in a folder to deploy"? What's the JS FOSS equivalent of ProcessWire as a CMF + CMS? What's the JS equivalent to e.g. DreamHost and other drag + drop hosts? (Legitimately curious, and I'm mainly inquiring after equivalents-for...better-thans would definitely be interesting)
Well "place an index.php file in a folder to deploy" is a lot of server (maybe Apache / PHP) running to support that. Node typically IS the server. So, you could install express and have a simple web server listening on a port and serving up html or json in about 5 lines of code. Unlike PHP Node is not, in itself, a templating language. So if you want to render HTML pages you'd also need to install something like EJS…
> AWS, Azure, Google, CloudFlare, Digital Ocean, etc
I'm always curious to know if there are more casual options in this space, for non-earthshaking projects. Maybe more like how DO was at the beginning?
Re: PHP Popularity: Is it decreasing and what to do about it?
#60Earlier quoted context omitted.
Oh that's easy - just install 10 insecure npm packages that each install another 10 npm packages (some of which are even maintained!) then make sure you remember to bundle it up in a nice, heavy electron wrapper. Then you're all ready to distribute it via some random App Store - just don't forget to charge a monthly subscription while you're at it. /s
Don't do this to me, I maintained one of these projects years ago, and am still somehow billed $0.30 a month for the privilege of the original dev having used Amazon tools for it :D