Chunk, an HTML Template Engine for Java Icon

Chunk, an HTML Template Engine for Java

Clean, powerful templates for Java

1 Recommendation
2 Downloads (This Week)
Last Update:
Download chunk_template_2.1.1.jar
Browse All Files
Windows Mac Linux

Description

A powerful Java Template Engine, great for building HTML or XML docs. Chunk can handle many other needs and situations as well. In-tag filters & default values, multiple snippets per file, layered themes, macros, conditional includes, localization & more.

Chunk, an HTML Template Engine for Java Web Site

Categories

License

Apache License V2.0

Features

  • Self-contained: one small jar provides most common functionality.
  • Nestable loops and conditionals (if-elseIf-else).
  • Macros, Includes and Conditional Includes.
  • Curly-brace {$tags} pop nicely in docs already full of <AngleBrackets>.
  • Natural templates - can still validate as xml/xhtml.
  • Flexible null-handling; template designer may specify default tag values.
  • Built-in library of powerful in-tag filters a la {$tag|trim}, including regex, sprintf.
  • Localization framework.
  • Easy MVC: Glue a model to a template view with a single line of code.
  • Support for theme layers.
  • Define multiple snippets per template file.
  • Highly optimized codebase.
  • Hooks for extending; define your own tag filters.
  • Eclipse Template Editor plugin available with syntax highlighting & more.

Update Notifications





User Ratings

 
 
1
0
Write a Review

User Reviews

  • Posted by Tom McClure 2011-01-03

    Way cleaner than jsp. Can set up simple templates or try out some of the advanced features. So nice to be able to tweak a tag's output with a regular expression "pipe" filter.

Read more reviews

Additional Project Details

Intended Audience

Developers

Registered

2011-01-03

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.