News for hackers. Stuff that matters.
Re:PHP Popularity: Is it decreasing and what to do about it? by wvenable on Friday April 21, 2023 @05:09PM (#35660208)
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.

Re:PHP Popularity: Is it decreasing and what to do about it? by themodelplumber on Friday April 21, 2023 @05:54PM (#35660737)
Exactly, if one is not developing PHP for the enterprise (maybe some non-enterprise simple projects still use opcodes though? lol), it's silly not to leverage index.php for all it's worth :-)

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? by toyg on Saturday April 22, 2023 @05:33AM (#35664791)
The equivalent for JS is just an HTML file.
Re:PHP Popularity: Is it decreasing and what to do about it? by 9dev on Saturday April 22, 2023 @07:37AM (#35665499)
There are projects between hobby users and Facebook, believe it or not :-)

I actually like using a reliable package manager, a wide ecosystem of good packages, and modern language features. There is nothing "heavy" about modern PHP, unless you want it to.