php模板引擎 下载地址,PHP模板引擎

HSTemplate是一个用PHP编写的模板系统,它将业务逻辑(PHP)与展示逻辑(HTML)分离。该包实现了一个支持输出缓存的模板引擎,可以为模板文件指定名称以便引用。它从指定目录加载实际包含内联PHP代码的HTML模板文件,并能为每个模板分配变量。模板通过将模板变量转换为局部变量并包含模板文件脚本来处理。处理后的模板结果可以被缓存,以避免后续模板处理的开销。了解更多详情,请参阅相关wiki。
摘要由CSDN通过智能技术生成

HSTemplate is a web template system written in PHP. HSTemplate separates PHP, as a business logic, from HTML, a presentation logic.

This package implements a template engine with output caching support.

It can assign templates files a name so they can be referenced by that name.

The class loads from a given directory template files which are actual HTML files with embedded PHP code.

It can assign to each template, variables which are stored as class variables.

The templates are processed by turning template variables into local variables and then include the template file scripts.

The results of processed templates can be cached to avoid subsequent template processing overhead.

For more information see 'wiki'

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值