groupe-sii / ogham

Sending email, sms or whatever is a piece of cake
https://groupe-sii.github.io/ogham/
Apache License 2.0
21 stars 15 forks source link

Improve builders for template parsers #39

Closed cdejonghe closed 7 years ago

cdejonghe commented 8 years ago

For the moment, the TemplateParser implementations are too linked with our default strategy. As it is, the TemplateBuilder class and TemplateParserBuilder classes does not allow easily (I guess they even forbid it) to change the strategy and define your own adapters. The problem is the same for Thymeleaf or FreeMarker : we don't have a clear separation between a #useDefaults() method and a ad-hoc configuration by the developper.

Ex for FreeMarker : @see