In my opinion template engines like smarty are horrible. PHP itselfs allows you to separate the design from the program logic very well. You can either string replace your own codes, or just (and better) include php variables in the HTMl code. It's in no way worse than using some pseudo code like Smarty does
|