Home > Article > PHP Framework > 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!