3 ms·
What does the template engine have to do with SQL? Not really following you there.
by dom0 10y ago
What does the template engine have to do with SQL? Not really following you there.
- coldtea 10y agoA template engine has multiple use cases its author can not foresee, not just creating pages. Here they talk of using it for translation, with arbitrary user provided strings for example. Another could use it to create an SQL helper (accounting themselves for injection) etc. In any case, it should not contain dangerous helper methods of capabilities not fit for strictly templating, just because the native string class allows them.