Velocity 有哪些先进概念?
我正在查看速度的文档,它看起来非常简单。
即可以在 2 小时内取走的东西
我是否遗漏了什么?
Velocity 有哪些更高级的概念?
有什么重大怪癖吗?
I am looking at the documentation of velocity, and it seems very straightforward.
i.e. something that one can pickup in 2 hours
Am I missing something?
What are the more advanced concepts with Velocity?
Any major quirks?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Apache Velocity 是开源的。如果您想了解更多关于它的信息而不是文档所解释的内容,您需要阅读其来源或使用它的事物的来源。或者这里有许多其他与速度相关的问题。
Apache Velocity is open source. If you want to know more about it than what the doc explains, you need to read its source or the source of things that use it. Or the many other velocity-related questions here on SO.
我认为(至少对我自己来说)“阅读”某事物和“使用”该事物之间是有区别的:)。
然而,Apache Velocity 确实如此简单(尽管有其局限性),这是它在如此多的项目中使用的主要原因,例如,即使非程序员也需要编辑/修改模板代码。
如果您有一个支持 Velocity 的智能编辑器,那么编写这些模板会更容易、更快:)。
I think (at least for myself) there's a difference between "reading" about something and "using" that thing :).
Apache Velocity however is really that easy (and despite it's limitations) the main reason it's used in so many projects, e.g. where even non-programmers need to edit/modify template code.
If you have a smart editor with support for Velocity, than writing those templates is even easier and faster :).