Histone — powerful and flexible template engine, which can be used for HTML - code generation as well as any other kind of text - documents. Histone implementations exists for the web - browser as well as for the server (Java and PHP), it allows you to use same templates on the server and on the client. Built - in extension mechanism allows you to extend default template engine features, by adding your own methods and properties for the particular project. Templates has clean and simple syntax and can be stored either as source code or as compiled code that can be executed with the maximum performance wherever it's needed.
Project web site
Documentation
For contributors
To use histone in your maven project you should add histone repository to your maven settings.xml
file
<repository>
<id>central</id>
<snapshots>
<enabled>false</enabled>
</snapshots>
<name>release</name>
<url>http://weblab.megafon.ru/maven/release-weblab</url>
</repository>
<repository>
<id>snapshots</id>
<snapshots>
<enabled>true</enabled>
</snapshots>
<name>snapshot</name>
<url>http://weblab.megafon.ru/maven/snapshot-weblab</url>
</repository>
and then add new maven dependency to your pom.xml
<dependency>
<groupId>ru.histone</groupId>
<artifactId>histone</artifactId>
<version>HISTONE LATEST VERSION</version>
</dependency>
Standart Maven project structure. |- src/ project sources |- assembly/ file with maven-assembly-plugin assembly descriptor |- etc/ file for maven-licence-plugin checks |- main/ main sources |- test/ tests sources
|- libs/ histone-java dependency libraries
|- histone-java-A.B.C.jar histone-java library
|- LICENSE.txt Apache v2.0 license file
|- NOTICE.txt file with copyright info
|- README.md this file