On Thu, Jan 4, 2018 at 1:58 PM, Vincent Massol <[email protected]> wrote:

>
>
> > On 4 Jan 2018, at 12:47, Marius Dumitru Florea <
> [email protected]> wrote:
> >
> > On Thu, Jan 4, 2018 at 1:35 PM, Paul Libbrecht <[email protected]>
> 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?
>

Velocity is a bit slow I think, in any case way slower than executing Java
code directly (e.g. if you compare a Java REST resource with its equivalent
written in Velocity in a wiki page). Thomas probably knows more. Now I
don't know if the other templating engines are faster. Anyway, I was just
replying to Paul.


>
> 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 <
> >>> [email protected]> 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 <[email protected]>
> >>>> 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
> >>>>>
> >>>>>
> >>>>
> >>
>
>

Reply via email to