|
# A templating platform for java
|
|
![Logo](http://www.jproggy.org/img/snippetorytx60.png)
|
|
|
|
# Code Generation based on intact Templates
|
|
|
|
|
|
While template engines are based on scipting languages, overwhelming templates with all types of logic Snippetory rather acts as a next generation token replacer. By regions it supports loops and conditional inclusion and metadata describes hw data is bound to the template |
|
With template engines, that are based on scripting languages, templates often overwhelm the user with all types of logic. In contrast Snippetory rather acts as a next generation token replacer.
|
|
\ No newline at end of file |
|
* [Regions](https://www.jproggy.org/snippetory/syntax/#Region) provide support for loops and conditions
|
|
|
|
* [Formats](https://www.jproggy.org/snippetory/formats/) take care for the locale and allow a tight integration with other frameworks
|
|
|
|
* [Encodings](http://www.jproggy.org/snippetory/Encodings.html) sanitize the output, and provide additional security against .
|
|
|
|
* By selecting a [Syntax](http://www.jproggy.org/snippetory/syntax/) one can have [intact templates](http://www.jproggy.org/snippetory/intact-templates/).
|
|
|
|
* The [sql module](http://www.jproggy.org/snippetory/sql/) offers prepared statements with named parameters for
|
|
|
|
* [H2](https://h2database.com/html/main.html)
|
|
|
|
* [SQLite](https://sqlite.org/)
|
|
|
|
* [Postgres](https://www.postgresql.org)
|
|
|
|
* or the JDBC db you prefer
|
|
|
|
* [TemplateWrappers](https://gitlab.com/jproggy/Snippetory/-/blob/master/snippetory-core/src/main/java/org/jproggy/snippetory/spi/TemplateWrapper.java) make [crosscutting concerns](https://oncodedesign.com/crosscutting-concerns/) no headache.
|
|
|
|
* [Groovy's](http://www.jproggy.org/snippetory/groovy/) dynamic nature is well supported:
|
|
|
|
* [TemplateBuilder](https://gitlab.com/jproggy/Snippetory/-/blob/master/snippetory-groovy/src/main/groovy/org/jproggy/snippetory/groovy/TemplateBuilder.groovy)
|
|
|
|
* [TemplateDynamizer](https://gitlab.com/jproggy/Snippetory/-/blob/master/snippetory-groovy/src/main/groovy/org/jproggy/snippetory/groovy/TemplateDynamizer.groovy) |
|
|
|
\ No newline at end of file |