Snippetory is a general Java template engine based on passive templates. In passive templates, template code and logic are clearly separated from each other. The templates contains very simple mark up. By removing logic, templates are directly accessible, fully parametrized, and free of context, and can easily be reused. Navigation, code competition, and structuring of the code with methods and classes are supported.
| Tags | Template engine web frontends XML Dynamic Content template template processor plain text HTML/XHTML Internet Email Java Libraries Libraries Code Generators Development Markup HTML Utilities Web |
|---|---|
| Licenses | Eclipse Public License |
| Operating Systems | OS Independent |
| Implementation | Java |
Last announcement
Courious about the progress of Snippetory?
Visit http://snippetory.wordpress.com/2012/08/18/feature-announcement-for-snippetory-0-9-5/
Recent releases


Release Notes: The new conditional regions make it simple to express things like optional HTML attributes: By saying ${title="$title"}$, the whole title attribute is only rendered when there is data for the title. The formatters have extended and are now able to expose properties (i.e., to take additional data) and to have several attributes. The new Fluyt syntax family provides similar syntaxes for integration into different contexts.


Release Notes: This release fixes two minor bugs. A NullpointerException was thrown when calling render on the root template (the call will now be ignored instead), and binding of a StringBuffer or a StringBuilder caused a ClassCastException.


Release Notes: A new syntax "C_COMMENTS" has been added. The template construction API has been refactored to be more URI-based and unique. This will allow include functionality in the future. A minor issue in stream handling has been fixed. TemplateContext is now available to Syntax and TemplateFactory. This allows additional features and makes extending TemplateContext more useful. Access to character data is now done by Appendable and CharSequence instead of String and StringBuilder.