Measures Concepts
GitHub icon

Velocity

Velocity - Template language

< >

Velocity is an open source template language created in 2003.

#585on 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 Token Example
Strings ✓ "
"Hello world"

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout