cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <>
Subject Re: Configuration Patterns and Sitemap Generation
Date Mon, 23 Oct 2000 21:12:47 GMT
----- Original Message ----- 
From: "Berin Loritsch" <>
To: <>
Sent: Monday, October 23, 2000 2:58 PM
Subject: Configuration Patterns and Sitemap Generation

> I noticed that the compiled sitemap idea can be improved
> now that the new Avalon is integrated.  I will enumerate
> the methods, and it might be that the Sitemap no longer
> needs compilation.
> 1) configure() passes the configuration object to the
>    parent, and then proceeded to create a bunch of
>    SAX events to feed the SAXConfigurationBuilder and
>    build a new Configuration object.
> This is no longer necessary.  The purpose of the
> Configure method is to configure *this* object.
> Avalon includes a DefaultConfiguration object where
> you can directly build Configuration trees.  This results
> in much cleaner code already.
> However, a Sitemap object only needs to read the
> Configuration tree and create the matchers, transformers,
> serializers, readers, and other components.

I did change the configure() to build the Configuration
objects directly--there are a couple minor anomolies, but this
results in smaller code and quicker sitemap compiling.

View raw message