teneo - cross resource references (only into HbResource) [message #595548] |
Mon, 13 November 2006 22:29 |
Andre Pareis Messages: 113 Registered: July 2009 |
Senior Member |
|
|
Hi Martin,
it's me again, with another thing from my wish list ;)
Let's say I want to separate my model into a small part which lives in an XML
resource and a large part which shall go into a relational data store. Could
teneo handle uni-directional references from the XML into the StoreResource? I
know that it will be very hard to accomplish that in the other direction or for
bidirectional associations, because you would have to replace the foreign key
concept with some "real foreign" (which would perhaps be possible by adding a
second, "external" FK which is just a URL and you could denote that on the model
by saying something is "remotable" for instance. But that too much, I know. Back
to the initial question: woudl such a simple linking work? Can the StoreResource
or HbResource provide the XML resource a reasonable URI fragment which can
later be used to retrieve the object? This could be a class+ID or a full blown
query.
The current fragment of an object just looks like a normal XML one, for example:
"//@clients.0/@vendors.1/@optionSources.0" - I assume teneo will at the moment
not be able to handle this and IIRC I made some tests a while ago and they failed.
Is it possible to provide a meaningful implementation of the URI fragment
together with it's resolution later? I'm very interested in your answer and for
this thing, I would definitely enter an enhancement request :)
Regards
Andre
|
|
|
Powered by
FUDForum. Page generated in 0.02800 seconds