Morning everyone,

I have been working on an event manager application in Struts for about 3 days. I'm just getting to the point of displaying a monthly calendar full of events. I finished up the JSP last night, and it's a mess. First, there's a lot of code in it. For example, to print out the event time, name, and description looks like this:

<dt:format date="<%= event.getStartDate() %>" pattern="hh:mma"/> - <dt:format date="<%= event.getEndDate() %>" pattern="hh:mma"/> : <bean:write name="event" property="title"/><br/>
<bean:write name="event" property="description"/>


All that code just to print this:

4:00pm - 5:00pm : Watch TV<br/>
Watch TV event description

Cold Fusion salespeople always tout the fact that Cold Fusion is "tag-based." I've always thought markup tags for dynamic content took up way too much space in the HTML.... I don't like Cold Fusion. My view is starting to look like Cold Fusion.

I've looking for some recommendations for better view frameworks. Do you use Velocity? Do you use an implementation of XSLT? How do these affect application performance (serializing to XML just to reserialize to HTML seems like an unnecessary performance hit)? How do they affect development time (all of them seem to require extra effort to develop (i.e. compiling a new servlet for each view, etc)?

Thanks for the recommendations,
Aaron


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



Reply via email to