News for hackers. Stuff that matters.
Re:PHP in 2019 by juangacovas on Wednesday May 15, 2019 @12:10PM (#19920812)
And many of us took the jump and refused to do things that way. You're wrong, PHP scales and you CAN do separation of concerns and have pretty, maintanable code, using a framework or not: just a matter of knowing what you are doing
Re:PHP in 2019 by barbecue_sauce on Wednesday May 15, 2019 @02:06PM (#19922078)
It's pretty clear that he meant mixing HTML, code, and database queries into a single file was what didn't scale, not PHP itself.
Re:PHP in 2019 by munk-a on Wednesday May 15, 2019 @04:21PM (#19923341)
I think you're missing the point of the comment - when it comes to prototyping PHP is incredibly easy to whip out a buggy test thingy in minutes that breaks all best practices but still lets you prove a concept or prep a demo.