Home >PHP Framework >ThinkPHP >thinkphp template engine principle

thinkphp template engine principle

藏色散人
藏色散人Original
2019-11-09 09:45:233008browse

thinkphp template engine principle

thinkphp template engine principle

ThinkPHP's built-in template engine is an independently innovative XML compilation template engine.

Recommended learning: thinkphp5

The template engine in thinkphp5

1. The template engine that comes with thinkphp5

Basically the same as the template engine in tp3

2, twig template engine

http://www.thinkphp.cn/topic/43078.html

3 , Laravel Blade template engine

http://www.thinkphp.cn/extend/946.html

4. think-angular template engine

This template engine is designed for It is written by PHP developers using angularjs. The main feature is that no additional tag definitions are required. All attribute definitions are used. After writing the template file, it is very neat when the IDE formats the code, because the completed template file is still standardized HTML

https://www.kancloud.cn/shuai/php-angular

5. Smarty

is relatively old.

The above is the detailed content of thinkphp template engine principle. For more information, please follow other related articles on the PHP Chinese website!

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