|
From: Tom T. <tom...@pr...> - 2004-06-18 14:30:05
|
Hello Darren, > I'm doing some work on the Velocity/FreeMarker support to try and offer > standardised (as far as poss) macros and tags in the web ui for html > forms. That would be useful! > 1. Some of the constructs are more powerful than others (ie FreeMarker > and > JSP 2.0 can do more than Velocity, but thBinden the syntax is arguably > more > complex). This has implications for consistency in the framework. My > opinion here is that consistency is better at the price of reduced > standard > functionality in the more powerful languages. Those features can go into > a > cookbook section on the wiki for example rather than a standard framework > library.Bind I'd prefer consistency, e.g. consistent as much as possible with the existing spring jsp tags? > 2. Should the standard macros and tags output any markup (HTML) or simply > make values available in simple variable names to be used in client code > markup. The fBindormer is very convenient for userBinds but means they > put > up with our HTML, the latter should be fine for everyone but means more > typing in your templates. My opinion here again is that less is more. > HTML for me is VERY application specific and I would feel that Spring was > starting to cross the line from framework/library domain to application > domain. No HTML output please! Again consistent with the existing spring jsp tags? Kind regards, Tom. |