yea but with smarty

your getting php to tun {$$var} into <?php echo $var;?> and then php turns that into "some value"

Example:

index.php --> index.tpl -> Smarty engine -> PHP's Engine -> Output

There THE SAME, They convert what you write into what is sent to the browaser, you just cangee the tags and make php work a hell of a lot hard

Why do you enable asp style tags and shortags.

<%=$var%> or <?=$var?> instead of <?php echo $var ?> if you cant be arsed to write :/

Also Immortal, Smarty has nothing to do with the MVC Pattern, Fuck Template systems in general have nothing to do with the MVC Pattern :/
litewarez Reviewed by litewarez on . Creating a Fast PHP Template System Well, I really dont see the point in a template engine that uses repalcements/regex so i have made this tutorial to show you another way. PHP Is already a template engine, when you write <?php echo $var?> its just like doing <{$var}> or {$var} Think of it this way, PHP Already translates <?php echo '<b>hello</b>'?> into <b>hello</b> by its engine, so why make it do everything 2 times over. The way you would implement a template engine is like so ------ Rating: 5