Rythm is a template engine for Play ! framework views.
It is type safe and provides an alternative to default groovy templates.
Japid is also a similar template engine for Play ! Both Rythm and Japid are solving similar problems.
Rythm
http://www.playframework.org/modules/rythm
Japid
http://www.playframework.org/modules/japid
What are the advantages of Rythm over Japid ?
The biggest advantage of Japid over Rythm is the former has an Eclipse plugin while the latter has no tool support at the moment.
Rythm wins at providing better Play-1.x integration. See Integration Guide and Migration Guide
Another thing worth mentioned here is Rythm by default escape expression output like Groovy engine while Japid require you to explicitly escape it as
${escape(expr)}
. That says Rythm tends to be safer to use while Japid votes more on performance.There should be no other big differences in terms of feature set of the both from my understanding. - Green, Author of Rythm
Updates
Rythm has just released a feature called String Interpolation Mode (SIM), which allows you to omit argument declaration for simple cases, make it a good replacement for
String.format
in most cases:Note SIM beats
String.format
in 2 ways:Rythm.render
is 2 to 3 times faster thanString.formant
String.format()
by position only, whileRythm.render
supports both passing by position and by name