cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [update] TreeProcessor now available
Date Tue, 15 Jan 2002 21:08:15 GMT
Sylvain Wallez wrote:
> 
> Sylvain Wallez wrote:
> 
> > Hi team,
> >
> > I finally finished the interpreted implementation of the sitemap engine.
> >

way cool.

How do we try it out?

> Forgot to say in the previous post...
> 
> The latest commit includes a major rewrite of component management which
> allowed a lot of code cleanup.
> 
> As a side benefit, these changes allow the <map:components> section to
> be given "as is" to a ComponentManager.configure().
> 
> Practically, this means :
> - we can use hints to name components instead of their class name (I
> defined a few in treeprocessor.xconf),

cool

> - we can also add arbitrary components such as datasources that are
> local to a sitemap.
> 
> For example, the following is allowed :
> 
> <map:components>
> 
>    <map:matchers default="wildcard"/>
>      <wildcard-uri-matcher name="wildcard"/>
>      <regexp-uri-matcher name="regexp"/>
>      <map:matcher src="my.nice.Matcher"/>
>    <map:matchers>
> 
>    <component role="my.nice.Component"
>               class="my.nice.ComponentImpl"/>
> 
> </map:components>
> 
> I know the above isn't backward compatible with the current compiled
> engine, but don't you think such features can be useful ?

Sorry but I don't get the picture from the example, can you elaborate
more on this?

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message