Re: How to selectively save EO
Re: How to selectively save EO
- Subject: Re: How to selectively save EO
- From: Ondra Cada <email@hidden>
- Date: Fri, 21 Apr 2006 21:53:03 +0200
Paul,
On 21.4.2006, at 21:22, Paul Suh wrote:
You should probably go back and re-think your design, so that you
are no longer trying to save the single EO -- instead, your natural
flow will be to save the entire state of the object graph tracked
by the EC.
My archetypal wanna-save-part-of-graph situation is a simulated
document-like environment.
For example, one of my projects allows the user to edit a number of
"volumes" (they contain "pages", and the user places "ads" and
"articles" to the "pages"). All the information is stored in one
central database, and there are relationships which intertwine all
the objects into a network without clean-cut bounds (for example, all
"pages" and also "ads" link to the same list of "colour spaces"; the
"user" who can edit different parts of the network has its own
entity, too, and there are relationships between "users" and objects
of all kinds they are editing, and so forth).
Now, the user assumes that (a) he can open more "volumes" at once,
(b) he can save changes made inside each of them independent on the
others.
Possibly I am overlooking something very obvious, but I do not see a
general, clean, and easy solution: either I use one EC, in which case
I cannot save separately (without some real hackery :)), or I use
more EC's, but then there are relationships which cross the EC
boundaries. Also, I do not see (perhaps just caused by my blindness
of course!) any obvious design error in the above.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden