Skip to content

DJCordhose/jmte

Repository files navigation

JMTE: Java Minimal Template Language

Build Status

The Java project Minimal Template Engine is meant to fill the gap between simple string formatting with basic Java classes like String.format and complex template solutions like Velocity or StringTemplate.

It is complete but minimal in a sense that you can express everything you need in a template language including 'if' and 'foreach', but nothing else. Because of this it is small, easy to learn and clearly focused. It does not try to solve what Java can do better anyway.

It supports separation of model and view, runs without external dependencies, can be extended and configured in many ways and runs in almost all environments including Google App Engine.

Caution: JMTE is is in low maintenance mode: critical bugs will be fixed, but do not expect new features

Include using Maven

https://repo1.maven.org/maven2/com/floreysoft/jmte/

   <dependency>
      <groupId>com.floreysoft</groupId>
      <artifactId>jmte</artifactId>
      <version>7.0.3</version>
      <scope>build</scope>
    </dependency>

Documentation

This project has been moved from https://code.google.com/p/jmte/, and there is some documentation still in their wiki pages: https://code.google.com/archive/p/jmte/wikis. On github there just is basic documentation here. For more details see the tests that cover all variations of the scripting language and extensions to the engine: https://github.com/DJCordhose/jmte/tree/master/test/com/floreysoft/jmte

Where is JMTE used

Releasing