velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Malcolm Edgar <>
Subject Re: Velocity vs JSP vs FreeMarker
Date Wed, 06 Apr 2005 14:13:13 GMT
Hi Ryan,

I evaluated FreeMarker for use in the Click web app framework, but
Velocity came out ahead its much easier to read and use.  One problem
with FreeMarker, and JSP is that they use a half baked XML syntax
which isn't HTML, but looks close enough to be confusing. Also XML
style syntax do not express conditional logic at all well.  The Struts
logic tag lib is a case in point, have to do an if else if logic you
will end up with

<logic:equals name="customer" property="category" value="gold">
<logic:equals name="customer" property="category" value="silver">

You get is problem in Tapestry as well, where you hide logic in span
elements. The HTML becomes hard to read as you dont know what is
presentation and what is logic.

>From what I have seen WebWork is a better implemantation of Struts,
but its still a relatively simple command pattern web framework.

<plug>Take a look at Click at</plug>

regards Malcolm Edgar

On Apr 6, 2005 8:47 PM, Ryan Lea <> wrote:
> Just wondering if anyone has used/tried/investigated all 3 of these as
> views (from MVC) and has any opinions on them??
> As a bit of a site note as well, has anyone used them with WebWork??
> cheers
> Ryan Lea
> Web Developer
> n Email:
> n Tel: 0207 318 9080
> n Fax: 0207 318 9099
> <>  - the UK's number 1
> property website
> 9 Park Place, St James's, London, SW1A 1LP
> This message (including any attachments) is confidential and may be
> legally privileged. The content and views expressed are those of the
> sender and not necessarily If you are not the intended
> recipient, you must not disclose, copy or use any part of it. Please
> delete all copies immediately and notify the sender.
> Limited is registered in England and Wales, No. 03997679. Registered
> Office: Lavells House, 31 Hockliffe Street, Leighton Buzzard, LU7 1EZ.
> ________________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs service.
> ________________________________________________________________________

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message