43. Rythmの特徴 - その1
➡ Static and strong typed pure Java template.
➡ Razor like syntax
➡ Easy to integrate with Play and migrate your groovy template one by
one
• Your existing controllers doesn t need to be changed
• Once an new template file under app/rythm folder created in the
corresponding path, Rythm will take over; all other groovy
templates still works
• Great Error reporting on parsing, compilation and excuting errors,
using Play-2.0 style!
➡ Automatic escape expression output, like Groovy and unlike Japid
➡ High performance at Japid level
43
44. Rythmの特徴 - その2
➡ Support layout and tag, you get all you have in Groovy template,
actually even more
➡ (Play specific) Support FastTags and JavaExtensions with constraints
➡ (Play specific) Support properties enhancement to template class
➡ Template content decorations and chain them together
➡ (Play specific) Invoke controller action method directly from within
your template
• @controllers.MyPortal.welcomePanel()
➡ Include other template inline (not the same as tag invocation)
• @include - @invoke("designer.mobile")
• @invoke - @invoke("designer." + platform)
➡ (Play specific) New Cache4 annotation to mark on controller action
method
➡ (Play specific) Support GAE
44