Velocity is a lightweight, server-side templating language built for rendering markup and text templates in a clean and simple way. There are many competing templating systems built in java, from jsps to Freemarker to XML transformation type languages. We have developed in all of these technologies and in our opinion, none of them come close to the speed, cleanliness and ease of use of Velocity. Here are some reasons we use Velocity in dotCMS
- Mature: Velocity is a mature, open source Apache Project
- Fast: Velocity is extraordinarily fast to render.
- Extensible: Velocity (as a language) is easy to extend. For example, it is trivial for a Java developer to build custom Java classes and methods that can be used by site builders and web page designers that provides them access to custom or integrated data or tools.
The following documentation sections show how to use and create Velocity Viewtools on your own dotCMS instance.