找回密码
 立即注册
velocitytemplatejava模板 | vc书籍 2022-06-16 180 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
什么是速度?
Velocity是一个基于java的模板引擎(template engine)。它允许任何人简单地使用模板语言来引用由 java 代码定义的对象。
Velocity应用于Web开发时,界面设计师和java程序开发者可以同时开发一个遵循MVC架构的网站,即页面设计者只关注页面的显示效果,而java程序开发者关注业务逻辑编码。 Velocity 将 java 代码从网页中分离出来,这有利于网站的长期维护。同时也为我们提供了除了JSP和P之外的可选方案。
Velocity 的能力远远超出了网站开发领域。例如,它可以从一个模板(template)生成SQL和PostScript、X-machine,也可以作为一个独立的工具来生成源代码和报表,或者作为其他系统的集成组件。 Velocity 还可以为 Turbine Web 开发框架提供模板服务。 Velocity+Turbine 提供模板服务的方式允许在真正的 MVC 模型中开发 Web 应用程序。

(What is speed?
Velocity is a Java based template engine. It allows anyone to simply use the template language to reference objects defined by java code.
When velocity is applied to web development, interface designers and Java program developers can simultaneously develop a website that follows the MVC architecture, that is, page designers only focus on the display effect of pages, while Java program developers focus on business logic coding. Velocity separates java code from web pages, which is conducive to the long-term maintenance of the website. It also provides us with options other than JSP and P.
Velocity's capabilities extend well beyond the field of website development. For example, it can generate SQL, postscript and x-machine from a template, or as an independent tool to generate source code and reports, or as an integrated component of other systems. Velocity can also provide template services for the turbine web development framework. Velocity+turbine provides template services in a way that allows web applications to be developed in a real MVC model.)

[下载]11213686334.rar




上一篇:UI设计规范.doc
下一篇:XMPP协议分析-原理篇.pdf