Welcome to DCTemplate

What is DCTemplate?

DCTemplate ("DOM Compiled Template") is a templating system for (X)HTML and JavaScript - it allows web developers to maintain dynamic chunks of XHTML as well-formed XML templates. The templates are "compiled" at build time to high-performance JavaScript methods.

Templating Approach

The approach taken by DCTemplate differs a bit from that of other JavaScript templating solutions:

  • Templates are "compiled" to executable JavaScript at project build time
  • Geared towards Java/JEE developers, can be used with Apache Maven, or embedded in other Java code
  • Contains constructs to implement looping and conditional execution
  • Templates are well-formed XML files

Using DCTemplate

You can download DCTemplate here. Then please read the Guide

License

DCTemplate is 100% open source and released under the LGPL (Lesser General Public License)