News for hackers. Stuff that matters.
Re:Your templating engine sucks and everything you've ever w... by Alexandervn on Sunday December 11, 2011 @04:35AM (#3339719)
Isn't this all the same?

<span><?=$salary?></span> <span>{{ salary }}</span> <span id="salary"></span>

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.