how to use Smarty better with PHP?

前端 未结 11 1867
孤街浪徒
孤街浪徒 2021-01-02 17:50

I found that using Smarty with PHP, sometimes extra time will need to be used for

1) using quite different syntax than PHP itself
2) need to check small cases, b

11条回答
  •  盖世英雄少女心
    2021-01-02 18:22

    As far as I know Smarty is one of the best template engines speed wise. Maybe it takes a while to get used to it. But if you are not working on the system alone and the amount of html and style files is huge it speeds up the development significantly.

    While working on my last project the design was changes a couple of times but logics was the same. I guess that's the best example when Smarty or any other template engine helps a lot.

提交回复
热议问题