cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [RT] Unification of Source/Resource Management (was Re: Adding Resource Monitor to Generators)
Date Tue, 11 Dec 2001 17:36:56 GMT
Stefano Mazzocchi wrote:

> Thanks for pointing this out!
> 
> Berin Loritsch wrote:

<snip/>


>>Also notice that the second method has the boolean "create",
>>that way we can create a resource to write for bi-directional
>>pipelines.
>>
> 
> Hmmm, don't find myself resonating this this. Can you elaborate further?


The problem occurs if you want to open a resource that is not there.

For instance, if we want to write some information to the filesystem
in a file named "foo.xml", we would be thrown an exception if it was
not there.

This is a problem if we are actually creating the resource for the
first time!




>>Let us decide here and now: Do we need to distinguish between
>>Persistent Store and Volitile Store?
>>
> 
> No, I don't think so. It's not hard to come up with heuristics that take
> care of this and adapt to the current caching needs (see that RT for all
> the algorithms that implement that!)
> 
> 
>>I do not think this is
>>necessary any longer.  There is absolutely no reason to
>>differentiate between Event and Stream storeage with the
>>Store interface--when both implementations are the same.
>>
>>Am I making sense?  Hopefully we can clean up some cruft that
>>we have already accumulated.
>>
> 
> Definately +1, I'm very happy to are bringing this further.


:)

I am back on a Cocoon centered project, so I am happy to begin contributing
again (beyond just Avalon maintenance.




-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


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


Mime
View raw message