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)
- Host: GitHub
- URL: https://github.com/splix/hsoy-templates
- Owner: splix
- License: other
- Created: 2012-09-24T01:43:01.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-05-16T14:44:35.000Z (about 13 years ago)
- Last Synced: 2024-04-16T10:52:43.270Z (about 2 years ago)
- Language: Java
- Homepage:
- Size: 152 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.txt
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