Home  >  Article  >  Backend Development  >  现在还有必要使用smart一类模板引擎吗

现在还有必要使用smart一类模板引擎吗

WBOY
WBOYOriginal
2016-06-06 20:34:491509browse

现在前端也多多少少会一点PHP
还有必要使用模板引擎吗?

回复内容:

现在前端也多多少少会一点PHP
还有必要使用模板引擎吗?

php本身就是模板语言

有没有必要看工程吧. 我喜欢语法简洁好学习的模板。php写页面我觉得挺恶心的

看需求吧~
对性能要求很高的,就不推荐使用。比如CI就因为性能原因放弃了模板引擎。
但是对于敏捷开发和代码可读性,还是可以使用的。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn