轻量级,基于PHP的布局框架...知道吗? [英] Lightweight, PHP based, layout framework...know of any?

查看:62
本文介绍了轻量级,基于PHP的布局框架...知道吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个基于PHP的轻量级布局框架.就像Zend Framework如何使用布局一样,我想创建一个布局模板,只包含必要页面的内容.

I'm looking for a lightweight, PHP based, layout framework. Like how the Zend Framework, uses layouts, I would like to create a layout template and include only the content for the necessary pages.

<html>
<head>
<title><?= $pageTitle ?></title>
</head>
<body>
<?= $content ?>
</body>
</html>

有人知道这有什么吗?我会使用Zend框架,但是对于我想要实现的目标来说实在太多了.

Anyone know of anything that does this? I would use the Zend Framework, but it's just too much for what I want to achieve.

推荐答案

我实际上将在europaphp.org上发布一个示例以及完整的文档.在约定和编码标准方面,它与Zend Framework非常相似.完成后,我会发布一些内容;大概在下个星期之内.

I'm actually about to release one at europaphp.org along with examples and a full documentation. It's very similar to the Zend Framework in conventions and coding standards. I'll post something when it is done; probably within the next week.

您可以在以下位置获取代码:[ http: //code.google.com/p/europa/source/browse/#svn/trunk/沙盒-默认] [1].

You can get the code at: [http://code.google.com/p/europa/source/browse/#svn/trunk/Sandbox - Default][1].

该链接将显示沙盒的最新svn,您无需任何配置即可下载并开始使用它.

That link will bring up the latest svn for the Sandbox which you can just download and start using without any configuration.

当前,它比现有的大多数其他PHP框架都快.

Currently, it's faster than most any other PHP framework out there.

[1]: http://code. google.com/p/europa/source/browse/#svn/trunk/沙盒-默认

这篇关于轻量级,基于PHP的布局框架...知道吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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