On 4 Jan 2018, at 12:47, Marius Dumitru Florea
<mariusdumitru.florea(a)xwiki.com> wrote:
On Thu, Jan 4, 2018 at 1:35 PM, Paul Libbrecht <paul(a)hoplahup.net> wrote:
Well, HTML is what people understand.
XSL-FO would not be very widespread.
What other language do you want the tempting
language to orient itself on?
None. I want to be able to use the templating language to generate JSON,
XML, CSV, etc. i.e. whatever text format I need. For instance I want to
generate the live table results JSON using the templating language like I
do now with Velocity.
What’s the problem with velocity?
Thanks
-Vincent
>
> paul
>
> On 4 Jan 2018, at 11:24, Eduard Moraru wrote:
>
>> On Wed, Jan 3, 2018 at 11:01 AM, Marius Dumitru Florea <
>> mariusdumitru.florea(a)xwiki.com> wrote:
>>
>>> From the home page it looks very HTML oriented, which is not good for
> us. I
>>> think we need a general purpose templating language that can be used to
>>> generate anything (JSON, XML, CSV, etc.) not just HTML.
>>>
>>
>> Yeah, my first impression was that it looks very similar to JSF, maybe a
>> bit simplified and less configuration needy.
>>
>> Thanks,
>> Eduard
>>
>>>
>>> On Tue, Jan 2, 2018 at 11:48 PM, Vincent Massol <vincent(a)massol.net>
>>> wrote:
>>>
>>>> See
http://www.thymeleaf.org/
>>>>
>>>> With this, users could combine HTML and scripting which could be a nice
>>>> option when using the {{html}} macro for example.
>>>>
>>>> {{html}}
>>>> {{thymeleaf}}
>>>> …
>>>> {{/thymeleaf}}
>>>> {{/html}}
>>>>
>>>> Related:
>>>> *
https://dzone.com/articles/template-engines-review-after-
>>>> deprecated-velocity
>>>>
>>>> Thanks
>>>> -Vincent
>>>>
>>>>
>>>
>