freemarker-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woonsan Ko <woon...@apache.org>
Subject Re: Please test/review FreeMarker 2.3.28
Date Sat, 24 Mar 2018 15:08:17 GMT
On Sat, Mar 24, 2018 at 10:52 AM, Daniel Dekany <ddekany@apache.org> wrote:
> 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

Cool!

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

Yeah, I'd better reply to that. Thanks!

Woonsan

>
> --
> Thanks,
>  Daniel Dekany
>

Mime
View raw message