25 Top PHP Template Engines_PHP Tutorial
为了找到一个好的模板引擎,我在互联网上进行搜索,目前已经整理出了以下名单:
Smarty
Smarty的特点是将模板编译成php(做为现在的主流开发语言)脚本,然后执行这些脚本。很快,非常灵活。
Heyes Template Class
一个非常容易使用,但功能强大并且快速的模板引擎,它帮助你把页面布局和设计从代码中分离。
FastTemplate
一个简单的变量插值模板类,它分析你的模板,把变量的值从HTML代码中分离处理。
ShellPage
一个简单易用的类,可以让你的整个网站布局基于模板文件,修改模板就能改变整个站点。
STP Simple Template Parser
一个简单、轻量级并且易于使用的模板分析类。它可以从多个模板中组装一个页面,把结果页面输出到浏览器或者文件系统。
OO Template Class
一个你可以用在自己程序中的面向兑现的模板类。
SimpleTemplate
一个可以创建和结构化网站的模板引擎。它可以解析和编译模板。
bTemplate
短小但是快速的模板类,允许你把php(做为现在的主流开发语言)逻辑代码从HTML修饰代码中分离。
Savant
一个强大且轻量级的PEAR兼容模板系统。它是非编译型的,使用php(做为现在的主流开发语言)语言本身做为它的模板语言。
ETS - easy template system
可以使用完全相同数据重组模板的模板系统。
EasyTemplatephp(做为现在的主流开发语言)
适用于你的站点的一个简单但是强大的模板系统。
vlibTemplate
一个快速、全能的模板系统,它包含一个缓存和调试类。
AvanTemplate
多字节安全的模板引擎,占用很少系统资源。它支持变量替换,内容块可以设置显示或隐藏。
Grafx Software’s Fast Template
一个修改版本的Fast Template系统,它包括缓存功能,调试控制台以及沉默去除为赋值块。
TemplatePower
一个快速、简单、功能强大的模板类。主要功能有嵌套的动态块支持,块/文件包含支持以及显示/隐藏未赋值的变量。
TagTemplate
The functionality of this library is designed to work with template files while allowing you to retrieve information from HTML files.
htmltmpl: templating engine
A template engine suitable for Python and php(as the current mainstream development language). It is aimed at web application developers who want to separate code and design in their projects.
php(as the current mainstream development language) Class for Parsing Dreamweaver templates
A simple class for parsing Dreamweaver templates, used in Gallery 2 and WordPress. in the definition module.
MiniTemplator (Template Engine)
A compact template engine for HTML files. It has simple syntax for template variables and block definitions. Blocks can be nested.
Layout Solution
Simplifies website development and maintenance. It has commonly used variables and page elements so that you don't need to repeat page layout work.
Cached Fast Template
It has been incorporated into FastTemplate, allowing you to cache template files and even cache different specifications on separate chunks of content.
TinyButStrong
A template engine that supports MySQL(the best combination with PHP), Odbc, Sql-Server and ADODB. It contains 7 methods and two properties.
Brian Lozier’s php(as the current mainstream development language) based template engine
is only 2K in size, very fast and is object-oriented design.
WACT
A template engine that separates code from design.
php(as the current mainstream development language)TAL
a php(as the current mainstream development language)The following xml(Standardization is getting closer)/XHTML template library.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

Working with database in CakePHP is very easy. We will understand the CRUD (Create, Read, Update, Delete) operations in this chapter.

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

To work on file upload we are going to use the form helper. Here, is an example for file upload.

In this chapter, we are going to learn the following topics related to routing ?

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

Validator can be created by adding the following two lines in the controller.

Logging in CakePHP is a very easy task. You just have to use one function. You can log errors, exceptions, user activities, action taken by users, for any background process like cronjob. Logging data in CakePHP is easy. The log() function is provide
