You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "chrisjlee (JIRA)" <ji...@apache.org> on 2014/07/10 23:29:05 UTC

[jira] [Created] (WICKET-5638) Use handlebar-like templating syntax

chrisjlee created WICKET-5638:
---------------------------------

             Summary: Use handlebar-like templating syntax
                 Key: WICKET-5638
                 URL: https://issues.apache.org/jira/browse/WICKET-5638
             Project: Wicket
          Issue Type: New Feature
          Components: wicket
    Affects Versions: 7.0.0-M2
            Reporter: chrisjlee


Apologies for my ignorance to processes. This is my first issue i've ever created for Apache Wicket. Love some feedback. I've been only lurking this issue queue for a short while. So i have a lot to learn and looking forward to responses:

As a new feature, I'd like to see Wicket introduce a handlebar-like syntax to wicket templates.

Instead of wrapping <div>'s and mapping those divs to a particular output utilize a handlebar syntax to render the contents.

This has several advantages:
- No longer coupled to HTML. Can use wicket to render json, xml, svg
- Syntax is commonplace and provides lower barrier to entry. Many other languages/frameworks implement this syntax: handlebars, twig (PHP), liquid, jinja, etc.
- IMHO, easier to implement into web components spec because of markup decoupling



--
This message was sent by Atlassian JIRA
(v6.2#6252)