Oschina Technology-oriented: Java template engine Velocity

Source: Internet
Author: User

Oschina using velocity as a page template

Velocity is a Java-based template engine. It allows anyone to refer to objects defined by Java code simply by using template language (language).

When velocity is applied to web development, interface designers can synchronize with Java program developers to develop a Web site that adheres to the MVC architecture, which means that page designers can focus only on the display of the page, while the Java program developer focuses on the business logic encoding. Velocity separates the Java code from the Web page, which facilitates long-term maintenance of the Web site, and provides an optional alternative to JSP and PHP.

Velocity's ability is much more than web site development, for example, it can generate SQL and PostScript, XML from Templates (template), which can also be used as a standalone tool to generate source code and reports, or as an integration component of other systems. Velocity can also provide template services for the turbine Web development architecture. Velocity+turbine provides a template service in a way that allows a Web application to be developed with a real MVC model.

The update address for Velocity's eclipse plugin is: http://propsorter.sourceforge.net/veloeclipse

Velocity's JAVADOC: http://www.ostools.net/apidocs/apidoc?api=velocity-1.7

Oschina Technology-oriented: Java template engine Velocity

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.