Bootique MVC with Mustache Templates

Provides Mustache integration as a template engine for Bootique MVC.

License

License

Categories

Categories

Bootique User Interface Web Frameworks
GroupId

GroupId

com.nhl.bootique.mvc
ArtifactId

ArtifactId

bootique-mvc-mustache
Last Version

Last Version

0.3
Release Date

Release Date

Type

Type

jar
Description

Description

Bootique MVC with Mustache Templates
Provides Mustache integration as a template engine for Bootique MVC.
Project Organization

Project Organization

National Hockey League

Download bootique-mvc-mustache

How to add to project

<!-- https://jarcasting.com/artifacts/com.nhl.bootique.mvc/bootique-mvc-mustache/ -->
<dependency>
    <groupId>com.nhl.bootique.mvc</groupId>
    <artifactId>bootique-mvc-mustache</artifactId>
    <version>0.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.nhl.bootique.mvc/bootique-mvc-mustache/
implementation 'com.nhl.bootique.mvc:bootique-mvc-mustache:0.3'
// https://jarcasting.com/artifacts/com.nhl.bootique.mvc/bootique-mvc-mustache/
implementation ("com.nhl.bootique.mvc:bootique-mvc-mustache:0.3")
'com.nhl.bootique.mvc:bootique-mvc-mustache:jar:0.3'
<dependency org="com.nhl.bootique.mvc" name="bootique-mvc-mustache" rev="0.3">
  <artifact name="bootique-mvc-mustache" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.nhl.bootique.mvc', module='bootique-mvc-mustache', version='0.3')
)
libraryDependencies += "com.nhl.bootique.mvc" % "bootique-mvc-mustache" % "0.3"
[com.nhl.bootique.mvc/bootique-mvc-mustache "0.3"]

Dependencies

compile (3)

Group / Artifact Type Version
com.nhl.bootique.jersey : bootique-jersey jar 0.16
com.nhl.bootique.mvc : bootique-mvc jar 0.3
com.github.spullara.mustache.java : compiler jar 0.9.1

test (5)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-core jar 2.0.31-beta
org.slf4j : slf4j-simple jar 1.7.13
com.nhl.bootique : bootique-test jar 0.17
com.nhl.bootique.jetty : bootique-jetty-test jar 0.15

Project Modules

There are no modules declared in this project.

build test deploy Maven Central

A simple MVC web framework for Bootique.

Uses JAX-RS (on top of bootique-jersey) for processing requests and responding with template-generated views. Provides a framework for pluggable templating engines.

Out of the box contains integration with Mustache and FreeMarker engines.

This framework is suitable for simple HTML UIs, where server-side rendering is minimal (e.g. when most of the UI work is done on the client with JavaScript). For advanced server-side rendering, you may consider JSF, Apache Tapestry (there's bootique-tapestry module available) and such.

See usage example bootique-mvc-demo.

com.nhl.bootique.mvc

Versions

Version
0.3
0.2
0.1