An open API service indexing awesome lists of open source software.

https://github.com/splix/hsoy-templates

HTML templates shared between client and server (JVM)
https://github.com/splix/hsoy-templates

Last synced: 14 days ago
JSON representation

HTML templates shared between client and server (JVM)

Awesome Lists containing this project

README

          

Hsoy Templates
==============

Hsoy Templates is a client- and server- side templating system for web and Java.

Based on Google Closure Templates with adding HAML syntax.

Documentation: http://splix.github.io/hsoy-templates/

Features
--------

* One template
* HAML syntax (Haml accelerates and simplifies template creation - see http://haml.info/)
* Fast
* compiled into Java (can be used by any JVM based language)
* compiled into JavaScript
* Based on Google Closure Templates library

Example
-------

```haml
!!! namespace tests

/
Greets a person using "Hello ...!"
@param name The name of the person.
#greeting
%h1
A Greeting
%h2
Hello {$name}!
```

Maven
-----

Latest versions: `0.3` for stable version, or `0.4-SNAPSHOT` for development

Maven dependency:
```xml

com.the6hours
hsoy-templates
0.3

```

Also you need to add 'The 6 Hours' Maven repository:

```xml


the6hours-release
http://maven.the6hours.com/release
true
false

```

Snapshot repo is located at `http://maven.the6hours.com/snapshot`

Modules
-------

* Hsoy Templates Core - https://github.com/splix/hsoy-templates
* Maven Plugin - https://github.com/splix/maven-hsoy-templates
* Grails Plugin - https://github.com/splix/grails-hsoy-templates

Author
------
[Igor Artamonov](http://igorartamonov.com), [The 6 Hours](http://the6hours.com)

License
-------

Licensed under the Apache License, Version 2.0