News for hackers. Stuff that matters.
Re:I still love PHP and JavaScript by Octoth0rpe on Tuesday August 02, 2022 @09:43PM (#32326673)
> weird mental model of putting all logic and templating in one file

That's up to you though. You're welcome to put all your logic in one file and your templating in some other file.

Re:I still love PHP and JavaScript by techsin101 on Tuesday August 02, 2022 @10:25PM (#32326921)
I guess but that brings to next point, varying approaches to this problem in the wild, and since all are valid, codebases seem to have all of them.