Re:Bedrock: a modern WordPress stack
by krapp on Wednesday December 18, 2013 @05:43PM
(#6931427)
things like this need to stop though:
...keeping track of that context switching in a complex theme can be maddening. Especially if it includes inline css and javascript or (heavens forfend) mixes php in with the inline css and javascript...
[ Parent
| on HN ]
Unfortunately, this is precisely the only thing PHP was invented for. It is a templating engine planned to be used exactly how you quoted.
Everything else is just accidental complexity.