inver / histone-java

Histone Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Histone Template Engine

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.

Histone Template Engine Java Implementation

Project web site
Documentation
For contributors

Using Histone from Maven

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>

Sources tree

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

Distribution archive contents

|- 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

About

Histone Java

License:Apache License 2.0


Languages

Language:Java 94.6%Language:Smarty 5.1%Language:JavaScript 0.2%Language:HTML 0.1%