----- Original Message -----
From: "Ronald Mathies" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: 2003. janu�r 20. 16:23
Subject: Advantage of the Velocity Engine


> Hi All,
>
> I've read tru the documentation on the Jakarta site
> (http://jakarta.apache.org/velocity/user-guide.html).
> But i'm still a bit unsure about using it.
>
> Can anyone tell me the main advantages or dis-advantages of the Velocity
> engine ?

Compared to what? JSP? Well, you get much less complexity and a much cleaner
design in your pages. Having Java code and HTML snippets mixed in a single
file quickly turns into a maintenance hell.

> And in what kind of senario is it realy usefull to work with the
> Velocity engine ? Maybe there are some other variants of the Velocity
Engine
> ?

You might want to take a look at http://freemarker.sourceforge.net. It is
not a variant of Velocity, rather it is another open-source template engine
product with a different feature set. For one thing (and this can be
relevant if you are using or plan to use Struts), it allows you to use JSP
tag libraries in your pages so if you invested in learning Struts taglibs,
you need not throw that knowledge out of the window when you switch from JSP
to a template engine.
(Disclaimer: I *am* quite heavily affiliated with FreeMarker).

Cheers,
  Attila.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to