TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Mustache templating system for PHP

11 点作者 nkm大约 15 年前

4 条评论

mootothemax大约 15 年前
Hrm, I can't say I'm that excited by this; does it have any advantages over Smarty or any of the other template systems out there?<p>Edit: Although I must confess I like the name, new Mustache() indeed!
评论 #1228835 未加载
klodolph大约 15 年前
I'm a little fuzzy on the concept of using template libraries inside PHP. What's the advantage over just using PHP in the first place?
评论 #1229592 未加载
armandososa大约 15 年前
This looks like a template language that I would use. And I like good PHP stuff showing on HN every once in a while.
wdewind大约 15 年前
Yet another solution for a problem that doesn't exist...<p>All these do is make the PHP template SMALLER. It's still JUST as complicated. {{#in_ca}} is just as complicated as &#60;?php $in_ca? x : y ?&#62;, it's just smaller. Passing this off to someone who can only do html, it might make it slightly easier for them to read, but honestly if they can't figure out how to stay away from PHP tags (or understand the minimal amount they will need to to do front end work) they shouldn't even be doing front end.<p>I can't imagine investing the time to learn or switch unless it can do something pretty spectacular, missing something?<p>Oh, and yeah cool name. Ironic hipster etc. yay.