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.
Features
- GAE and Android support
- 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.
License
Apache License V2.0Follow Chunk, an HTML Template Engine for Java
You Might Also Like
Our Free Plans just got better! | Auth0 by Okta
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
-
Way cleaner than jsp. Can set up simple templates or try out some of the advanced features. Tag filters make presentation easy. The other reviewer is mistaken, since 2.1 you no longer need to box objects in DataCapsule class. Any non-private POJO or Bean object attribute is exposed to the template even within loops.