Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将投入资源围绕模板引擎 Freemarker 或 Velocity 改造我的电子邮件系统。它们在功能和支持方面似乎都具有可比性。哪个更受欢迎或背后有更多的蒸汽?
如果你担心他们会消失,我不会。两者都已经存在了很多年,并且拥有大量资源。就个人而言,我参与 Velocity 是因为我鄙视 Freemarker 旧语法的尖括号。但是现在您可以在 Freemarker 中使用方括号。同样,许多人过去选择 Freemarker 以获得更好的性能或更高级的功能,但 Velocity 解决了很多性能问题,VelocityTools 提供了丰富的功能。说真的,我认为你不能再对它们中的任何一个出错了。抛硬币什么的。:)