[MOBY-dev] RegistryCache
Paul Gordon
gordonp at ucalgary.ca
Fri Oct 26 14:14:02 UTC 2007
Hi Martin,
Actually, I didn't add it to CentralDigestCachedImpl for a several
practical reasons:
1. The RDF methodology is very different from the existing methodology,
so I did not want to just replace your code.
2. I separated registry calls and ontology definition caching into
separate classes (see CentralCachedCallsImpl, which does extend you
CentralImpl, and the static methods in MobyDataType etc. respectively),
as these are now completely unrelated.
3. The existing CentralDigestCachedImpl methodology is still useful when
you just want to get bits of the ontology.
I am willing to revamp the CentralDigestCachedImpl code sometime to use
the RDF methodology, if you're keen on it. All I would need you to do
is build unit tests first, to elucidate the proper behaviour and make
sure I don't break any of the current functionality on which Dashboard,
etc. depend.
Regards,
Paul
> The old story again, right? You implemented this good thing just for
> yourself, without putting this good stuff into existing
> CentralDigestCachedImpl instead. Therefore, we again have two ways of doing
> things, and we confuse developers. Pity...
>
More information about the MOBY-dev
mailing list