Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Velocity

< >

Velocity is an open source template language created in 2003.

#699on PLDB 21Years Old

Apache Velocity is a Java-based template engine that provides a template language to reference objects defined in Java code. It aims to ensure clean separation between the presentation tier and business tiers in a Web application (the model–view–controller design pattern). Velocity is an open source software project hosted by the Apache Software Foundation. Read more on Wikipedia...


<HTML> <!-- Hello World in Velocity --> <BODY> #set( $foo = "Hello World" ) $foo </BODY> </HTML>
Example from Wikipedia:
<html> <body> Hello Velocity World! </body> </html>

Language features

Feature Supported Example Token
Strings
"Hello world"
"

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll