[ZODB-Dev] Re: ZEO signal feature

Christian Reis kiko@async.com.br
Thu, 26 Sep 2002 09:50:58 -0300


On Thu, Sep 26, 2002 at 10:16:27AM +0100, Toby Dickenson wrote:
> Can these extension methods be made available through the Connection or DB?
> 
>    It could, but I dont see any advantage. The DB already makes its
>    storage available.

Yes, but it's a bit nonstandard to use it, since it's not commonly
accessed (and isn't it underscored, even?) Isn't the DB supposed to
front-end for the Storage in any case?

> Could clients have a way to find out which extension methods are implemented 
> by a storage?
> 
>    My proposed definition of this method requires that unknown extensions
>    raise a NotImplementedError. The easy way to see if it exists is to try
>    it. For an example see: 
> <http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dirstorage/DirectoryStorage/DirectoryStorageToolkit/>

No introspection, huh? :-) Would be nicer if there was a "feature"
request, which could return extensions (and we could advertise
SIMPLEAUTH in there, for instance).

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL