You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Jeff Schnitzer <je...@infohazard.org> on 2002/06/12 12:53:47 UTC

ANN: Maverick MVC Framework v2.1 Released

Geir, would you update the Maverick reference on the powered-by page?

The Maverick team is happy to announce the version 2.1 release of the
Maverick MVC Framework.  Maverick is a minimalist web publishing
framework which combines the best features of Struts and Cocoon and yet
is far simpler than either.  It is published with an Apache-style
license.

http://mav.sourceforge.net

Maverick offers:

. Clean, easy-to-understand MVC separation
. Configuration using an XML sitemap
. Automatic internationalization and customization based on user agent
. Pluggable templating and transformation technologies, including JSP,
Velocity, XSL, DVSL, and FOP.  Transformations do not need to be
XML-based.
. The ability to chain together transformations of varying types (XSL,
DVSL, string substitution, etc) into a pipeline.
. Automagic conversion of JavaBeans models to DOM representation so that
DVSL or XSLT can be applied without manually generating XML (if
desired).
. The ability to halt the transformation process at any step to obtain
the intermediate results
. Wrapping transformations, which provide a simple way to apply a common
look-and-feel to pages which are not necessarily XML.
. A comprehensive set of sample applications, ranging from a simple
membership-based contact list to a full-blown EJB application for
wiki-like sharing of images.

The 2.1 release adds the ability to render views with a set of arbitrary
transformations of various types (rather than just multiple instances of
a single type).  So for example, after normally Controller processing
and Model building, the View rendering of a request might involve the
following sequence of steps:

. Render the model to XML with Velocity
. Apply a common look and feel with DVSL (or XSLT)
. Transform the XML to Formatting Objects with DVSL (or XSLT)
. Transform the FO to PDF with Apache FOP

Maverick can do this out of the box, thus offering capabilities that
rival Cocoon without the strict reliance on XSL.  Struts does not even
attempt to offer this facility.

Just to illustrate how easy this is, here's a snippet of the
configuration file that defines a command (the uri is "showReport.m")
that executes the transformation process above:

  <command name="showReport">
    <controller class="com.foo.GenerateReport"/>

    <!-- success, render the report -->
    <view name="success" path="makeXML.vm">
      <transform type="dvsl" path="common.dvsl"/>
      <transform type="dvsl" path="makeFO.dvsl"/>
      <transform type="fo" output="pdf"/>
    </view>
    <!-- maybe some form data failed validation -->
    <view name="error" path="requestReportForm.vm">
      <transform type="document" path="lookAndFeel.vm"/>
    </view>
  </command>

Of course, Maverick is convenient even if you have no need for
transformations and need only a vanilla MVC framework.  Just eliminate
the <transform> elements.

Thanks,
The Maverick Team
http://mav.sourceforge.net

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: ANN: Maverick MVC Framework v2.1 Released

Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
On 6/12/02 6:53 AM, "Jeff Schnitzer" <je...@infohazard.org> wrote:

> Geir, would you update the Maverick reference on the powered-by page?
> 

Not sure what you want changed on the powered-by page, as we don't have
versions there. I checked the URL, and that was the same.

I put a blurb on the vel home page though.  Hope that makes up for it.

-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>