You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Vineet Kumar (JIRA)" <ji...@apache.org> on 2015/07/27 18:15:04 UTC

[jira] [Commented] (SLING-2919) Support handlebars as a scripting language

    [ https://issues.apache.org/jira/browse/SLING-2919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642934#comment-14642934 ] 

Vineet Kumar commented on SLING-2919:
-------------------------------------

[~bobpaulin], sling-handlebars looks good. Do we have parallel implementation for nashorn considering JDK1.8 support that?

> Support handlebars as a scripting language
> ------------------------------------------
>
>                 Key: SLING-2919
>                 URL: https://issues.apache.org/jira/browse/SLING-2919
>             Project: Sling
>          Issue Type: New Feature
>          Components: Scripting
>            Reporter: Ian Boston
>            Assignee: Ian Boston
>
> Handlebars.js is a popular scripting language used client side. The markup is simple and straightforward, much like velocity in some ways, but without any of the confusion ove template or MVC. There is a version of Handlebars for java that uses an identical template language and appears to be well supported and has some nice features such as pre-compiling scripts serverside into Javascript functions and modules. (not all that relevant for server side scripting, but interesting none the less).
> I am going to experiment with a Sling Script engine in the whiteboard area to see if its viable to use handlebars java as an alternative to JSP.
> Handlebars Java, A2 Liencesed: https://github.com/jknack/handlebars.java



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)