Hi,

this sounds interesting. You have addressed many/most of the Velocity
drawbacks. One additions would be allowing (optional) commas in macro
calls, to be similar as method calls.

Your enhancements are mostly OK. But yet I would see the many configurable
options via properties as a drawback, since taking a template or macro
from one site to the other may choke due to different option settings.
I would suggest to have inline pragma directives or something like the
velocity-tools ToolboxManager to fine tune the scope of the settings
(and allow third-party-macros and toolbox-templates to have their
private settings?).

It will be a bit hard to keep Veracity in sync with Velocity, since
some features like maps and multi-line directives are coming soon.

I do not yet fully understand your "structured" whitespace handling
scheme (the name is superb!). Specially the part around "block comments".
How would you allow something like:
   ...
   <table>
   #call( $formatter.makeAlternator("rowcolor", "#c0c0c0", "#e0e0e0") )
   #foreach( $row in $table.rows )
     <tr color="$rowcolor" >
       #call( $rowcolor.alternate() )
       #foreach( $d in $row.data )<td>$d</td>#end
     </tr>
   #end
   </table>
and have nicely formatted output with all data together but yet indented?

Cheers!
Christoph

Michael Dykman wrote:
Hello all.

I have been an enthusiastic Velocity user for several years but there
are some limitations to it's behaviour and template language which I
have found disconcerting.  My solution was to reimplement the core
technology, integrating my wish list while trying to stay as compatible
with Velocity as was reasonable. The result is 'Veracity' which I intend
to release very shortly under the Artistic License.

As compatibility with Velocity has been a major design goal, the
documentation for Veracity makes frequent references to Velocity and I
wanted to give interested parties the opportunity to correct any errors
or misconceptions about Velocity I might have made inadvertently. Outside of a very small group of friends and associates, I have made no
announcements about the tool or it's impending release.


Any feedback would be much appreciated.  The documentation and binaries
may be found at

        http://veracity.shadowplay.net:8080/veracity/veracity

Thank you.


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



Reply via email to