Templating service
We have several string templates in GG-CE that need to be filled with data. The most recent example is the filling an email template for user account verification.
Regardless of where the templates are stored, we need one templating system that works both on the server (Java) and can be used on the client (Javascript).
public interface TemplatingService {
String fillTemplate(String template, Map<String, Object> params);
}
function fillTemplate(template: string, params: Map) {
//
}
The template syntax will depend on the engine selected.