Velocity is a Java based template engine. It can be used as a
stand-alone utility for generating source code, HTML, reports,
or it can be combined with other systems to provide template
services. One such example is the planned marriage of Velocity
with the Turbine
web application framework. Velocity will be tightly integrated with Turbine
to provide a template service that will enable a true MVC model
by which web applications may be developed.
Velocity uses a grammar based parser generated by
(Java Compiler Compiler) using the JJTree extension to create an
Abstract Syntax Tree (AST) which may subsequently be traversed
(repeatedly if desired) by a tree walker. The tree walker
is implemented using the visitor design pattern. This allows
the parsing logic to be separated from the actions performed
on the resultant AST. For example there are two visitors that
come with Velocity: the first is a simple implementation that produces
a visual tree of the syntax and nothing more, mostly used for
debugging; the second is the visitor that actually generates
output from user defined values and introspection.
Where do I get releases?
There is no official release yet, but there will be one
shortly. But you may retrieve the full source via CVS.
How do I contribute, give feedback, fix bugs and so on?
We really need and appreciate any contributions you can give. This includes
documentation help, source code and feedback. Discussion about changes
should come in the form of source code and/or very detailed and well thought
out constructive feedback.
We have a complete list of Active Developers.
Submit some code and get your name added!