You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Meikel Bisping <M....@gmx.de> on 2005/02/24 19:09:25 UTC
Velocity vs. FreeMarker
Hello,
the FreeMarker people claim that FreeMarker is more advanced in some
respects.
Could you check if that's (still) true ?
You can edit the page:
http://confluence.atlassian.com/display/TEST/Velocity+vs.+FreeMarker
Cheers,
Meikel Bisping
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Velocity vs. FreeMarker
Posted by Daniel Dekany <dd...@freemail.hu>.
Friday, February 25, 2005, 2:04:34 AM, Will Glass-Husain wrote:
> Nice summary. Choosing a tool is more than hitting a checklist of features.
> Good design and ease of use are also important.
From my standpoint the point is that the FM Vs Vel. page should be
updated, since it was made for Vel 1.2, and thus probably outdated. Or
it has to be removed... but I think that doesn't server the users well.
> Having said that, if there's specific questions or concerns you have, this
> is a good place to ask about them.
>
> WILL
--
Best regards,
Daniel Dekany
____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Velocity vs. FreeMarker
Posted by Will Glass-Husain <wg...@forio.com>.
Nice summary. Choosing a tool is more than hitting a checklist of features.
Good design and ease of use are also important.
Having said that, if there's specific questions or concerns you have, this
is a good place to ask about them.
WILL
----- Original Message -----
From: "Barbara Baughman" <ba...@utdallas.edu>
To: "Velocity Users List" <ve...@jakarta.apache.org>
Sent: Thursday, February 24, 2005 2:11 PM
Subject: Re: Velocity vs. FreeMarker
> The Velocity language is simple and powerful, as well as very fast.
> In a well-designed application, the template designer can be placed in
> a sandbox of data and tools and left to play happily without
> supervison. The fact is, anything can be done in Velocity, in a
> nicely organized way, given cooperation between the programmers and
> template designers.
>
> Beware of the allure of having more "programming" type options within
> the templating language. In fact, a lot of folks judge a "view"
> application (such as Velocity and FreeMarker) as most effective when
> the designer has few options to manipulate data; they only decide how
> to present it. The more complicated the programming of the template,
> the more programming expertise will be required of the template
> designers. The Velocity developers have made very conscious decisions
> to keep the core language as simple as possible. This, in turn, makes
> the templates easy to write and maintain.
>
> There is a wide spectrum of just how much control should be given to
> the programmers vs. designers when it comes to templates. Within this
> spectrum, FreeMarker gives more control to the template designer, with
> more "tools" included in the core language. Velocity gives more
> control to the programmer, providing additional tools as appropriate.
> Many tool programs have already been written and are readily available
> in the Velocity Tools project.
>
> I might also add that the Velocity community is very helpful and
> supportive. Super, in fact!
>
> Barbara Baughman
> X2157
>
> On Thu, 24 Feb 2005, Meikel Bisping wrote:
>
>> Hello,
>>
>> the FreeMarker people claim that FreeMarker is more advanced in some
>> respects.
>> Could you check if that's (still) true ?
>>
>> You can edit the page:
>> http://confluence.atlassian.com/display/TEST/Velocity+vs.+FreeMarker
>>
>> Cheers,
>>
>> Meikel Bisping
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Velocity vs. FreeMarker
Posted by Barbara Baughman <ba...@utdallas.edu>.
The Velocity language is simple and powerful, as well as very fast.
In a well-designed application, the template designer can be placed in
a sandbox of data and tools and left to play happily without
supervison. The fact is, anything can be done in Velocity, in a
nicely organized way, given cooperation between the programmers and
template designers.
Beware of the allure of having more "programming" type options within
the templating language. In fact, a lot of folks judge a "view"
application (such as Velocity and FreeMarker) as most effective when
the designer has few options to manipulate data; they only decide how
to present it. The more complicated the programming of the template,
the more programming expertise will be required of the template
designers. The Velocity developers have made very conscious decisions
to keep the core language as simple as possible. This, in turn, makes
the templates easy to write and maintain.
There is a wide spectrum of just how much control should be given to
the programmers vs. designers when it comes to templates. Within this
spectrum, FreeMarker gives more control to the template designer, with
more "tools" included in the core language. Velocity gives more
control to the programmer, providing additional tools as appropriate.
Many tool programs have already been written and are readily available
in the Velocity Tools project.
I might also add that the Velocity community is very helpful and
supportive. Super, in fact!
Barbara Baughman
X2157
On Thu, 24 Feb 2005, Meikel Bisping wrote:
> Hello,
>
> the FreeMarker people claim that FreeMarker is more advanced in some
> respects.
> Could you check if that's (still) true ?
>
> You can edit the page:
> http://confluence.atlassian.com/display/TEST/Velocity+vs.+FreeMarker
>
> Cheers,
>
> Meikel Bisping
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Freemarker comparison - macro recursion
Posted by jian chen <ch...@gmail.com>.
Hi,
Maintenance wide, I give Velocity two thumbs up. Velocity is simple
and efficient.
We are using Velocity for our web based application and we are very
happy with it.
Jian
On Thu, 24 Feb 2005 20:20:44 +0100, Claude Brisson <cl...@renegat.net> wrote:
> On Thu, 2005-02-24 at 20:07 +0100, Meikel Bisping wrote:
> > Of paramount importance for me is possibility to invoke a macro
> > recursively. Can you do that with Velocity?
>
> yes of course, but it's usually easier to handle on the java side (you
> can have a little tool that enumerate the leaves of a tree for
> instance).
>
> if you still think recursion is your way, it's easier with the #local
> macro (which is not included by default, it should be somewhere in a
> subversive whiteboard), which role is to protects the variables
> namespace inside each level of recursion.
>
> --
> Claude
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Freemarker comparison - macro recursion
Posted by Claude Brisson <cl...@renegat.net>.
On Thu, 2005-02-24 at 20:07 +0100, Meikel Bisping wrote:
> Of paramount importance for me is possibility to invoke a macro
> recursively. Can you do that with Velocity?
yes of course, but it's usually easier to handle on the java side (you
can have a little tool that enumerate the leaves of a tree for
instance).
if you still think recursion is your way, it's easier with the #local
macro (which is not included by default, it should be somewhere in a
subversive whiteboard), which role is to protects the variables
namespace inside each level of recursion.
--
Claude
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Freemarker comparison - macro recursion
Posted by Meikel Bisping <M....@gmx.de>.
Of paramount importance for me is possibility to invoke a macro
recursively. Can you do that with Velocity?
But I'm only beginning to use template engines so eventually breaking
out of loops, name spaces and XML transformation capabilities
different from XSLT might become interesting in the future.
Eventually it's not only about my current issues. Other programmers
will have to decide between Velocity and FreeMarker, so it would be
good if the comparison list is correct.
Regards,
Meikel
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Velocity vs. FreeMarker
Posted by Will Glass-Husain <wg...@forio.com>.
Rather than fill out a detailed checklist, which issues are of the most
concern?
The latest version of Velocity (currently unreleased but in the nightly
source code drop) supports decimal numbers in templates. That used to be a
significant issue that's now gone away.
When you're comparing, be sure to look at Velocity's sub-project,
Velocity-Tools, which adds integration with Struts, JSP, servlets, etc. It
also provides a number of "tools" to do useful tasks like formatting, etc.
Best,
WILL
----- Original Message -----
From: "Meikel Bisping" <M....@gmx.de>
To: <ve...@jakarta.apache.org>
Sent: Thursday, February 24, 2005 10:09 AM
Subject: Velocity vs. FreeMarker
Hello,
the FreeMarker people claim that FreeMarker is more advanced in some
respects.
Could you check if that's (still) true ?
You can edit the page:
http://confluence.atlassian.com/display/TEST/Velocity+vs.+FreeMarker
Cheers,
Meikel Bisping
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org