cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@betaversion.org>
Subject Re: Polishing the flow contracts
Date Tue, 01 Apr 2003 11:20:18 GMT
"Sylvain Wallez" <sylvain.wallez@anyware-tech.com> wrote:

> Moreover the process() function could simply take an URI string and let
> the underlying implementation use the SourceResolver to get the actual
> source and verify that it's writeable.
> 
> You will then write :
> cocoon.process("whatever", "file://blah") but also
> cocoon.process("whatever", "context://xdocs/content/foo.xml") (for a
> deployed webapp) and even
> cocoon.process("whatever", "cvs://my-module/foo")
> 
> How does it sound ?

I prefer this approach to exposing the source resolver itself, indeed...

If one, then, needs to get a hold on the resolver, yes, he can obtain an
instance of the resolver through the component manager...

    Pier


Mime
View raw message