On Thu, 2004-04-08 at 17:08, Guido Casper wrote:
> Rolf Kulemann wrote:
> > Looking at the repository block, one will see that there is already a
> > RepositorySource, but that source and the RepositorySourceFactory are
> > not meant to be used with the new Repository interface from Guido.
> > 
> > What I have in mind is:
> > 
> > A new RepositorySourceFactory should simply look up the appropriate
> > respositroy via the RepositoryManager and pass that to RepsitorySource.
> > The source than acts on the Repository interface to provide a sources
> > functionality.
> > 
> > Does this make sense?
> 
> It does.
> However please consider the Repository interface unstable (if not at 
> "proposal stage", but definately not finished) and I currently wouldn't 
> move too quick building further components on top of it.

I agree that the rep. interface is "unstable" BUT adding another layer,
more concrete a source impl., will not cause much overhead, since it is
"a single" point of change. 

> 
> If you need a Source for accessing WebDAV, why not use the WebDAVSource?

My App does not know WebDAV and should not. Of course using the webdav
source is an option, but I thought as soon as we have alpha code seeds
for the Respository more people will look at it and maybe enhance and/or
contribute (to) it.

I think I can cope with using the WebDAVSource, but it is not really
satisfactory for me. I'm looking forward to a (new) repository soooo
looong.....

I just did a skeleton for the source and factory. It is not much code,
so that is why I can follow ur concerns, but can not agree with being
"that careful".

Is there really no space for hacking concerning the repsitory???

Using the WebDAV source means for me binding my sitemap to WebDAV. That
could be changed easy in the future I think, so if there is no space for
good old hacking, I will go that way.


Another question:

When do sources go into scratchpad? If they are unstable or "proposed"?
If so, wouldn't that mean the repository should go to scratchpad?

I also could add my source to the scratchpad.
WDYT?

-- 
Regards,

    Rolf Kulemann

Reply via email to