. VM suffix file Velocity

Source: Internet
Author: User

*. The VM suffix file is a velocity file. Velocity is a Java-based page template engine that supports front-end Files written in the format of # If # else # foreach. $ Link. contextpath is a default method supported by the engine. You can obtain the root path of application execution.

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, the interface designer can develop a web site following the MVC Architecture in sync with Java program developers. That is to say, the page designer can only focus on the page display effect, java developers focus on business logic encoding. Velocity separates Java code from web pages, which facilitates the long-term maintenance of web sites and provides an optional solution besides JSP and PHP.
Velocity is far more powerful than Web site development. For example, it can generate SQL, postscript, and XML from templates, it can also be used as an independent tool to generate source code and reports, or as an integrated component of other systems. Velocity can also provide template service for the turbine web development architecture ). Velocity + turbine provides a template service that allows a web application to be developed with a real MVC model.

The update address of velocity's Eclipse plug-in is: http://propsorter.sourceforge.net/veloeclipse

Velocity javadoc: http://www.oschina.net/uploads/doc/velocity-1.5/index.html

This article from: http://blog.sina.com.cn/s/blog_6b9c45440100yhr0.html

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.