Velocity is a java-based template engine. It allows anyone to reference objects defined by Java code simply using a template language.
When Velocity is applied to web development, interface designers can develop a web site that follows the MVC architecture simultaneously with Java program developers. In other words, page designers can only focus on the display effect of the page, while Java program developers focus on the business. Logical encoding. Velocity separates Java code from web pages, which facilitates long-term maintenance of web sites, and also provides us with an alternative to JSP and PHP.
Velocity's capabilities extend far beyond web site development. For example, it can generate SQL, PostScript, and XML from templates. It can also be used as a standalone tool to generate source code and reports, or as an integrated component of other systems. use. Velocity can also provide template services for the Turbine web development architecture. Velocity+Turbine provides a template service that allows a web application to be developed in a true MVC model.