freemarker-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Dekany <ddek...@apache.org>
Subject Re: Please test/review FreeMarker 2.3.28
Date Sat, 24 Mar 2018 14:52:29 GMT
Saturday, March 24, 2018, 3:41:59 PM, Daniel Dekany wrote:

[snip]
>> Could this local build cause a problem? (I saw differences between
>> "2.3" and "2.3-gae". See below. So I probably should have built
>> "2.3-gae" branch?)
>
> But should work, except if I screw up and forgot to push one of them,

"*Both* should work", I meant.

[snip]
>> I got: 1,2,3 [="Hello"] Hello
>> Thanks for clarification!
>
> Note that the square bracket *tag* syntax and that it can be activated
> with [#ftl] exists for a very long time.
>
> I will update the related Manual page in a minute...

Done, see:
https://freemarker.apache.org/builds/fm2.3.28/dgui_misc_alternativesyntax.html

>>> documentation. Or, it's a warning sign that we should rather use
>>> {{exp}}, as that doesn't have "square brackets" in it.
>>
>> Perhaps. ;-)
>> I recently had a chance to look around other templating libraries
>> using the mustache as I have seen people loving it.
>> I didn't like the usages there in directives. For example, {{#if
>> user}} {{user.name}} {{/if}}. It's hard for me complete the if, ending
>> with {{/if}}, which is too much. ;-)
>> But the interpolation part (e.g, {{user.name}}) seems okay to me.
>> So, yes, I'm fine with mustache expression for interpolation and it
>> might be less confusing in this specific case.
>>
>> What do others think?
>
> Let's not forget digging up the thread where it was decided. I mean,
> there are some pro/cons mentioned there.

Here's the thread I have mentioned:
https://lists.apache.org/thread.html/56ca342df0453dce04a4a949426730d7def4d3155392d5dbb10b22b3@<dev.freemarker.apache.org>

-- 
Thanks,
 Daniel Dekany


Mime
View raw message