Perl’s text :: template module & hellip; What is the closest match for php…

I love the Text::Template
module for Perl and HTML. It allows me to keep my HTML separate from my logic and I can use Dreamweaver to continually maintain the HTML design.

Don’t be mislead by the name Text::Template, it is not like Smarty
. Text::Template is a more elegant and simpler solution than the Smarty philosophy.

I think the TinyButStrong template engine
may be the answer to my own question, but I welcome your feedback.

The most complete implementation of that in PHP is probably Smarty
.

Though, in my opinion way overkill.

PHP itself is a template language, meaning you can embed PHP directly into HTML files, you might interested in https://stackoverflow.com/questions/62617/whats-the-best-way-to-separate-php-code-and-html

Hello, buddy!责编内容来自:Hello, buddy! (源链) | 更多关于

阅读提示:酷辣虫无法对本内容的真实性提供任何保证,请自行验证并承担相关的风险与后果!
本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 综合编程 » Perl’s text :: template module & hellip; What is the closest match for php…

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录