Handlebars.java Helpers

75 views
Skip to first unread message

siordache

unread,
Jun 27, 2016, 7:33:47 PM6/27/16
to handlebars.java
Hi all,

I use Handlebars.java for source code generation. This is not the typical use case for Handlebars.java, but I find it very well suited for this task.

I wrote a series of helpers that I frequently use in my templates and which you may also find useful.  However, I don't think these helpers fit into the Handlebars.java project, because most of them add logic to the templates (logical, relational and mathematical operations), thus violating the logic-less nature of Handlebars.That's why I decided to open source them as a new GitHub project: https://github.com/beryx/handlebars-java-helpers.

I hope you will find them helpful and I apologize if this mailing list is not the appropriate place for this post.

Serban

edgar

unread,
Jun 27, 2016, 9:22:38 PM6/27/16
to handlebars.java
cool!

can you send a pull request to handlebars? There is a project for external/community helpers

siordache

unread,
Jun 28, 2016, 5:31:41 PM6/28/16
to handlebars.java
The helpers are currently written in Groovy. I will try to port them to Java in the next few days, in order to send a pull request.
Reply all
Reply to author
Forward
0 new messages