My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads

Chunk is a Java Template Engine for applications that serve HTML or XML. It is abstract enough to handle lots of other needs and situations as well.

Chunk is compact and speedy, easy to learn yet very powerful.

Chunk templates provide for rich tagging, in-tag filters, in-tag default values, defining multiple snippets per template file, layered themes, macros, conditional includes and much much more.

Download the latest chunk-template jar. Works with Java 1.5 and up.

Features:

  • Macros, Includes and Conditional Includes.
  • Curly-brace {~tags} pop nicely in a backdrop full of <AngleBrackets>.
  • Flexible null-handling; template designer may specify default tag values.
  • Library of powerful predefined in-tag filters, including regex (regular expressions), sprintf.
  • Rapid MVC: Glue a "model" object (or objects) to a "view" template with a single line of controller code.
  • Define multiple snippets per template file.
  • Support for theme layers.
  • Highly optimized codebase.
  • Hooks for extending.
  • Eclipse Template Editor plugin available with syntax highlighting & more.

Go here for Complete documentation of the Chunk Template Engine.

An Eclipse plugin with syntax highlighting, outline navigation of snippets, and auto-linking of snippet references is available on the Chunk project downloads page. Requires Eclipse Helios (3.6) or better.

Powered by Google Project Hosting