在ASP.NET母版页的PHP等效 [英] PHP Equivalent of Master page in ASP.NET

查看:157
本文介绍了在ASP.NET母版页的PHP等效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法来实现在PHP中的ASP.NET母版页概念?

Is there any way to achieve the master page concept of ASP.NET in PHP?

推荐答案

您可以使用一个模板引擎如 Smarty的

You could use a template engine like Smarty:

虽然Smarty的被称为
  模板引擎,它会更
  准确地描述为一个
  模板/ presentation框架。
  即,它提供了程序员
  和模板设计了丰富的
  工具来自动化常用任务处理
  与一个企业的presentation层
  应用程序。

Although Smarty is known as a "Template Engine", it would be more accurately described as a "Template/Presentation Framework." That is, it provides the programmer and template designer with a wealth of tools to automate tasks commonly dealt with at the presentation layer of an application.

这篇关于在ASP.NET母版页的PHP等效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆