3 ms·
> The way it mixes markup and logic is gross. We don't do that any more. You separate logic and view like in any other language. In fact some people don't eve
by cardanome 5y ago
> The way it mixes markup and logic is gross.
We don't do that any more. You separate logic and view like in any other language.
In fact some people don't even use PHP for templating anymore but a domain specific language. (Though sometimes having a fully features programming language for templating can be nice so jury is still out.)
Honestly I am more grossed out with the stuff that some modern frontend frameworks are doing these days, where there is not separation of styling, markup and logic anymore with that thing that is like html but not totally html. I see the advantages but not sure how this will turn out in the long run.