@Rythm
Yet Another Template Engine and Why
Green Luo
Senior Programmer @ Pixolut
Lead Developer of CampaignSocial
First commercial program: Year 2000
First Java Program: Year 2000
First Template Engine used: Velocity @ 2001
Template Engine
- What is Template ?
- What is Template Engine ?
- How many Java Template Engines ?
- Top 3 most commonly used
Why create Rythm
I need a Razor in Java
Rythm at a glance
transformer
- Manipulate expressions
-
See more built-in transformers on Rythm website
Extensibility

REGISTER UDT
Security
Substitute Mode
String s = Rythm.substitute(unTrustedTemplate, ...)
Sandbox Mode
String s = Rythm.sandbox().render(unTrustedTemplate, ...);
Summary
Razor like syntax
Static typed
High performance
Easy to use
Highly extensible
Secure
Built-in i18n support
Success story - Campaign social
CampaignSocial is a cloud for Media Agents to create their campaigns and run them on multiple channels including Facebook, Mobile, Tablet and MicroSite
success story - AX UNICOM
AX Unicom platform is an enterprise level universal communication system supporting PSTN, E1 lines. AX Unicom support collaboration among telephone, VOIP, Video Conference, FAX and SMS. The product attend 2013 CEBIT in German and win the 2012 top 200 innovation award in China
Numbers
Rythm first version
-
File: 83
-
Code lines: 3810
Rythm current version
-
File: 265
-
Code lines: 22092
-
Comments: 11627
Github
-
Issues closed: 163
-
Open issues: 17
-
Commits: 396