github.com/apache/velocity-engine

Mirror of Apache Velocity Engine

Open this visualization on its own page →

Contributors

17

Lines of Code

19,342

From

2000-09-30

To

2020-11-23

About apache/velocity-engine

Apache Velocity Engine is a general-purpose template engine written in Java that processes template files to generate dynamic content. It uses Velocity Template Language (VTL) to define placeholders and logic within templates, making it suitable for generating various types of text-based output from Java applications.

The project is organized into several modules including the core engine, examples demonstrating usage patterns, JSR-223 scripting support, and integration with the Spring framework. The codebase requires Java 8 or later and includes comprehensive documentation on the Velocity website covering both basic usage and advanced customization.

A notable feature is the ability to customize the VTL parser by changing the special characters used in template syntax. This allows developers to work with templates containing many special characters that would otherwise conflict with Velocity syntax, such as jQuery code full of dollar signs, by substituting alternative characters like the section symbol.

Share this video