On Thursday, March 14, 2002, at 02:27 AM, James Bates wrote:
Is this not a task that whatever RPC toolkit is used should perform?
Ideally yes, but I don't see that being possible with the current class. If the class can be fixed, then I'm fine with it.
Well, that was basically it. The idea behind CollectionHandle is just to make sure
whoever's using the API on the client side isn't too aware that he's using a string.
On the other hand, if there is a unqiue string associated with each collection in a database,
that actually makes sence to the client, I'd rather use that too. How about the complete path
to the collection?
Yeah, that's all we really need.
Why an array? one single hashtable using namespace prefixes as keys and namespace uri's as data
would surely suffice? That's how I ususally pass a set of namespace bindings.
Not thinking clearly, you're right of course. :-) Let's kill NamedVal, it' s not really necessary.
OK. I was thinking that same thought, but knowing the history of CORBA in Xindice, I just used
it as a guide... server package would definately be more logical. Probably a structure like:
rpc/api => The interfaces (which should be used in BOTH client and server)
Why do you need interfaces on the client?
rpc/client => anything client related rpc/server => server implementations of classes /common => EncodedBuffer and (if kept) NamedValue
I'd prefer to keep the current client/server division, but clean it up a little. We want to make it clear what is needed on a client install, and what is needed for the server. As it is we just put the whole ball in both places, which maybe isn't such a good idea.
OK, can some other folk help with this, as I'm not sure what this extra functionality should be?
I'll of course help with it when we're ready.
I'll try and get going on the other issues raised here.
James
Kimbro Staken - http://www.kstaken.org - http://www.xmldatabases.org Apache Xindice native XML database http://xml.apache.org/xindice XML:DB Initiative http://www.xmldb.org Senior Technologist (Your company name here)
