You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ian Boston (JIRA)" <ji...@apache.org> on 2016/11/10 08:32:58 UTC

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

     [ https://issues.apache.org/jira/browse/SLING-2919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Boston resolved SLING-2919.
-------------------------------
    Resolution: Won't Fix

While it might be nice, there is limited need for this given the dominance of JSP and Slightly.

> 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)