不使用 Web 服务器时,我可以选择哪些 HTML 模板?

发布于 2024-08-21 07:42:56 字数 145 浏览 4 评论 0原文

规则

  1. 每个答案一个选项
  2. 列出语言限制
  3. 至少一项优点和一项缺点
  4. 至少一个 URL 资源。

如果您觉得慷慨,请提供描述或您自己的经历。

Rules

  1. One option per answer
  2. List language constraints
  3. A minimum of one pro and one con
  4. At least one URL resource.

If your feeling generous include a description or your own experience with it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

爱她像谁 2024-08-28 07:42:56

Jinja

语言:Python 2.4+

优点:它很灵活

缺点:你需要一个 C 编译器来调试

它是一个用 Python 编写的通用模板引擎。它经常被那些不喜欢 Django 模板引擎的限制性的人用作 Django 模板引擎的替代品。

Jinja

Language: Python 2.4+

Pro: It's flexible

Con: You need a C compiler for debugging

It's a generic templating engine written in Python. It's often used as an alternative to the Django templating engine by people who don't like the restrictive nature of the Django templating engine.

め七分饶幸 2024-08-28 07:42:56

XSLT

与语言无关

优点:

  • 极其通用
  • 与语言无关

缺点:

  • 学习曲线
  • 不同实现之间的差异
  • XML 语法可能很冗长

W3C 规范

.NET XslCompiledTransform

XSLT

Language Agnostic

Pro:

  • Extremely versatile
  • Language Agnostic

Cons:

  • Learning curve
  • Variation across implementations
  • XML syntax can be verbose

W3C Specification

.NET XslCompiledTransform

德意的啸 2024-08-28 07:42:56

Velocity

语言:Java

Pro:它很灵活

缺点:不像以前那么流行。

这是另一种通用模板引擎,用 Java 编写。它曾经一度是 JSP 的流行替代品,尽管从那时起它已经有所下降。

Velocity

Language: Java

Pro: It's flexible

Con: Not as popular as it once was.

This is another generic templating engine, this one written in Java. At one time, it was a popular alternative to JSP, although it has fallen off a bit since then.

怪我太投入 2024-08-28 07:42:56

Stringtemplate 可以用作通用代码发射器。用Java编写

Stringtemplate can be used as a generic code emitter. Written in Java

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文