Great timing :-)

Last night I updated the friendbook-domify example to show this.  You
can configure the limit-transform-param by overriding the
XSLTransformFactory in the <modules> section.  Here's what it looks
like:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mav/opt-domify/examples/f
riendbook-domify/WEB-INF/maverick.xml?rev=1.3&content-type=text/vnd.view
cvs-markup

The basic idea is that factories are configured in the <modules>
section, and it's possible to override the basic factories with custom
configuration as well as add new factories.  Each factory implementation
is free to interpret subnodes in the XML; the javadocs for each of the
default factories should explain the options.

About factories:  Maverick works by building a tree of "workflow"
objects from the configuration file.  During request processing,
execution simply follows one path of the tree, determined by which
command was executed, which view the controller specified, etc.  The
overhead of Maverick, when running, should simply be a couple map
lookups and virtual method calls.  All the complexity is in building the
tree, and the pluggable parts are factories that can build objects that
implement interfaces like View and Transform.

This will all be explained in the 2.0 manual, which I am currently
working on.  This time it's in pure docbook rather than the hybrid
html-docbook dtd we used before.  The docbook xsls are pretty cool.  In
a couple days I'll check in progress so far and update the website.
I'll be happy to clarify anything in the meantime, though.

BTW, I also rewrote the XSLTransform to use SAX between the pipeline
stages.  The code is a lot simpler and it should be a lot more
efficient.

Jeff Schnitzer
[EMAIL PROTECTED]

> -----Original Message-----
> From: Ed Ward [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 21, 2002 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: [Mav-user] mavMaxTransforms - changes in 2.0
> 
> Hi,
> 
> I'm planning on doing a presentation of Maverick to our project team.
I'm
> fairly familiar with Maverick 1.0 but I'd like to present details of
the
> latest version too. I've downloaded version 2.0-b1 and I've got the
> friendbook example running under Tomcat 4.0.1. The first thing I
noticed
> though is that the "mavMaxTransforms" links don't halt the transform
to
> display the XML.
> 
> Could you please explain how will the pluggable transforms work and
how
> parameters such as 'limit-transform-param' are passed to the
> TransformFactory? Any other info that would be important when
discussing
> the
> differences between versions 1 and 2 would be very much appreciated.
> 
> thanks,
> Ed Ward
> 
> 
> 
> 
> _______________________________________________
> Mav-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/mav-user

_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user

Reply via email to