Is it possible to replace php tags to something custom?
Smarty library can assign values and then render them so instead of:
<?php echo $name; ?>
you can just assign value in business logic and then in template just say
{name}
I'd like to make my own function/class/library so when I write { in index.tpl, browser will think its < ?php echo ..
Can somebody point me somewhere?