-
Website applications always cost a lot to maintain, and program developers are eager to implement changes through frameworks. Template technology is improving development efficiency and making applications more maintainable after running for a long time. And the features of the template engine are exactly in line with the needs of personalized website developers. As for the php template engine, in addition to the official Smarty, there are no less than hundreds or thousands of other open source template engines. Below, IDC Review Network shares with you ten top PHP template engines based on data.
1 Smarty
Smarty is one of the most famous PHP template engines in the industry. It separates logical code and external content, providing an easy-to-manage and use method to separate PHP code logic that is originally mixed with HTML code. Its characteristic is to compile templates into PHP scripts and then execute these scripts. Very fast and very flexible.
2 Heyes Template Class
Heyes Template Class is a very easy to use, yet powerful and fast php template engine that helps you separate page layout and design from code.
3 STP Simple Template Parser
STP Simple Template Parser is a simple, lightweight and easy-to-use template parsing class. It can assemble a page from multiple templates and output the resulting page to the browser or file system.
4 Heyes Template Class
Heyes Template Class is a very easy-to-use, yet powerful and fast template engine that helps you separate page layout and design from code.
5 FastTemplate
FastTemplate is a simple variable interpolation template class that analyzes your template and separates the variable values from the HTML code.
6 ShellPage
ShellPage is a simple and easy-to-use class that allows your entire website layout to be based on template files. Modifying the template can change the entire site.
7 SimpleTemplate
SimpleTemplate is a template engine that can create and structure websites. It can parse and compile templates.
8 Savant
Savant is a powerful yet lightweight object-oriented PHP template engine. Use PHP itself as the template language so there is no need to learn a new markup system. It has an object-oriented template plug-in system and output filters to quickly add new behaviors.
9Xtemplate
Xtemplate, which allows HTML code to be stored separately from PHP code. Contains many useful features such as nested program blocks, various types of interpolation variables. The code is very concise and optimized.
10 TemplatePower
TemplatePower is a fast, simple and powerful template class. Key features are nested dynamic block support, block/file inclusion support and showing/hiding unassigned variables.
Original address: http://www.idcps.com/News/20110331/25077.html (If you need to reprint, please indicate the source)
Thanks to IDC Review Network for your contribution