Stencil Template Engine - CDI

Stencil Template Engine CDI Integration Library

License

License

GroupId

GroupId

com.impossibl.stencil
ArtifactId

ArtifactId

engine-cdi
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

Stencil Template Engine - CDI
Stencil Template Engine CDI Integration Library
Project URL

Project URL

http://impossibl.github.io/stencil/
Project Organization

Project Organization

Impossibl.com

Download engine-cdi

How to add to project

<!-- https://jarcasting.com/artifacts/com.impossibl.stencil/engine-cdi/ -->
<dependency>
    <groupId>com.impossibl.stencil</groupId>
    <artifactId>engine-cdi</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.impossibl.stencil/engine-cdi/
implementation 'com.impossibl.stencil:engine-cdi:0.0.2'
// https://jarcasting.com/artifacts/com.impossibl.stencil/engine-cdi/
implementation ("com.impossibl.stencil:engine-cdi:0.0.2")
'com.impossibl.stencil:engine-cdi:jar:0.0.2'
<dependency org="com.impossibl.stencil" name="engine-cdi" rev="0.0.2">
  <artifact name="engine-cdi" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.impossibl.stencil', module='engine-cdi', version='0.0.2')
)
libraryDependencies += "com.impossibl.stencil" % "engine-cdi" % "0.0.2"
[com.impossibl.stencil/engine-cdi "0.0.2"]

Dependencies

compile (1)

Group / Artifact Type Version
com.impossibl.stencil : engine jar 0.0.2

provided (1)

Group / Artifact Type Version
javax.enterprise : cdi-api jar 1.1-20130403

Project Modules

There are no modules declared in this project.

stencil

Template engine designed with first class support for layouts and macros with easy passing of text blocks.

Features

  • Syntax - Stencil features a compact syntax that uses a single character ('$') to inctroduce dynamic regions.
  • Blocks - Passing around blocks of text is at the cornerstone of the Stencil language. Block syntax allows the succinct creation and passing of blocks of text to macros and included templates.
  • Macros - Stencil has advanced support for creating macros that accept both parameters and blocks.
  • Layouts - Layout support is built into the heart of Stencil and based on the block passing syntax. It allows fast & easy creation of layouts of unlimited quantity.
  • Functions - Stencil allows the simple creation of functions that execute it's simple expression language.
  • Expression - Advanced expressions that have support for all classical statements like loops and conditions, as well as complex literals like like maps and list, along with advanced operators like elvis and safe-navigation that make simplify template writing.

Versions

Version
0.0.2
0.0.1