Re:Your templating engine sucks and everything you've ever w...
by bergie on Sunday December 11, 2011 @07:17AM
(#3339917)
There is one important difference: the server-side templating engine will probably retain the id attribute in the last case, meaning that the templating information remains usable also on client-side.
We use RDFa for somewhat similar purposes.
<span><?=$salary?></span> <span>{{ salary }}</span> <span id="salary"></span>