Home > php教程 > PHP开发 > How to make ThinkPHP's template engine achieve optimal efficiency

How to make ThinkPHP's template engine achieve optimal efficiency

WBOY
Release: 2016-08-04 08:57:08
Original
1324 people have browsed it

By default, the template engine used by the ThinkPHPframework system is the built-in template engine. The built-in template engine supports the mixed use of PHP native code and template tags in template files.


ThinkPHPThe official development documentation says that the performance of this default built-in template engine is efficient, but it is not optimal. To achieve optimal performance of the template engine, it is necessary to use PHP itself as the template engine.

Using PHP itself as a template engine is actually very simple, just configure it in the project's configuration file Conf/config.php:

'TMPL

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template