At present caches are required to extend a specific
baseclass which indicates bad design.
Extending base classes is bad design? I thought that was what OOP was all about.
Unless you mean extending Hashtable (specifically) is a bad idea, to which I would normally agree (though in the case of caches I am not so sure, as you would like to have synchronization in a cache).
I like the idea of Ernst to have caches that can be chained. Possibly this could be done with a factory, though that depends on how you plan to acquire your cache.
I doubt if we have enough development power for another project. Improving the cache sounds good. If you want it to be a project, and someone can cough up the development hours, I am in support, but otherwise I think going with a hack yields the quickest results.
-- Pierre van Rooden Mediapark, C 107 tel. +31 (0)35 6772815 "Never summon anything bigger than your head."
