Projects / Snippetory

Snippetory

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
Licenses
Operating Systems
Implementation

Last announcement

Feature announcement for Snippetory 0.9.5 18 Aug 2012 13:16

Courious about the progress of Snippetory? Visit http://snippetory.wordpress.com/2012/08/18/feature-announcement-for-snippetory-0-9-5/

Recent releases

  •  11 May 2013 12:03

    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.

    •  16 Oct 2012 19:00

      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.

      •  04 Aug 2012 16:55

        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.

        Screenshot

        Project Spotlight

        OpenStack4j

        A Fluent OpenStack client API for Java.

        Screenshot

        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.