News for hackers. Stuff that matters.
Re:Stop-saying-PHP-is-dead by VincentOrback on Friday December 04, 2020 @03:47PM (#25307679)
I mostly heard, yeah it’s not great but I’ve been doing it for so long..

But hey, I’ve been doing it for a while to, so how can I learn to write more beautiful php? And do you only use it for backend since you said “we don’t do php in html anymore”?

Re:Stop-saying-PHP-is-dead by jbothma on Friday December 04, 2020 @04:55PM (#25308656)
I think the php in html thing has been replaced by templating tools where we write html templates with"template strings" that allow you to put dynamic data into the html, and all the php is concentrated in more well defined libraries.

The amount of logic we used to do with php inside otherwise html files has been shown to be bad software design.

Re:Stop-saying-PHP-is-dead by aaaaarghZombies on Friday December 04, 2020 @04:29PM (#25308316)
I think you might have the wrong end of the stick.