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.
That's up to you though. You're welcome to put all your logic in one file and your templating in some other file.