Community contributed extensions

PlayRythm module documentation

Welcome to PlayRythm module documentation. This documentation is intended for the 1.0.0-RC1 release and is significantly differ from previous module version’s documentation.

Check the version history.

PlayRythm features


  2. Razor like syntax
    1. Your existing controllers doesn’t need to be changed
    2. Your existing mailers doesn’t need to be changed
  4. Automatic escape expression output, like Groovy and unlike Japid
  5. High performance at Japid level
  7. (Play specific) Support FastTags and JavaExtensions with constraints
  8. Tag invocation decorations and chain them together
  9. Template content decorations and chain them together
  10. (Play specific) Invoke controller action method directly from within your template
  11. Include other template inline (not the same as tag invocation)
  12. (Play specific) New Cache4 annotation to mark on controller action method

Template Syntax at a glance


@args List<User> users
@for(User user: users) {
    @if (!user.disabled()) {
        <li class="@user_parity">

Use PlayRythm template engine (Play specific)

1. Add PlayRythm into your conf/dependencies.yml file:

# Application dependencies
       - play -> rythm

Don’t forget run play deps --sync to download rythm module after you updated your conf/dependencies.yml file

2. Create the template file in app/rythm folder.



See Also

  1. Integrate PlayRythm into your Play project
  2. User's guide
  3. Reference manual