3 ms·
Some time ago there a guy that posted a "Show hn" showing his "lightweight templating engine in php". He parsed a HTML file and replaced <% %> tags with some te
by slim 9y ago
Some time ago there a guy that posted a "Show hn" showing his "lightweight templating engine in php". He parsed a HTML file and replaced <% %> tags with some text. It never occurred to him that php is actually a templating engine
- scintill76 9y agoTo be fair, if the <% %> tags HTML-escape the text, then it might be considered better than raw PHP.