cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: [RT] Flowmaps
Date Mon, 17 Jun 2002 06:25:22 GMT

Vadim Gritsenko wrote:
>From: Nicola Ken Barozzi [mailto:nicolaken@apache.org]
>>Stefano Mazzocchi wrote:
> 

  <snip/>

> Why not replace these two with something more simple/obvious and
> something which better correlates with map:mount syntax we have now?
> 
> Something similar to:
> 
> <map:match pattern="calc/*">
>   <map:mount-flow check-reload="yes"
>                   src="calc/calculator.xflow"
>                   uri-prefix="calc" />
> </map:match>
> 
> Here, it will be not necessary to have additional and confusing to
> newbies "kont/*" matcher. Everything below calc/ goes to flowmap, and in
> flowmap you can use e.g. calc/kont/ to indicate continuation.
> 
> And, if flowmap has map:mount notion, all necessary for the calculator
> XSPs can be served by sub-sitemap with matcher:
> 
>>>    <map:match pattern="*.html">
>>>     <map:generate src="{1}.xsp" type="serverpages"/>
>>>     <map:serialize/>
>>>    </map:match>
>>>   </map:pipeline>
>>
> 
> Then, flowmap directory will be self-contained.
> Isn't this simpler and more logical?

I really like this :-)

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


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


Mime
View raw message