Re: How to selectively save EO
Re: How to selectively save EO
- Subject: Re: How to selectively save EO
- From: Louis Demers <email@hidden>
- Date: Sun, 23 Apr 2006 19:03:57 -0400
At 3:22 PM -0400 2006/04/21, Paul Suh wrote:
Louis,
Trying to save a single EO while leaving others unsaved is almost
always indicative of a problem in your application's design....
That was my initial concern and the reason I asked the question on
how to do it, knowing I would be corrected by this list if that was a
NONO 8-), I was worried that my design was flawed because it
motivated me to do this.
My application is some sort of ERP for our particular needs, and I
wanted to record some signature that someone was trying to edit some
objects. The object I wanted to save was a signature object referring
to an object that already existed in the database but that may have
been edited without being committed yet. The object being saved is
not at the discretion of the user but my own requirement to keep
track of what is being done. I could restrain the user to a very
strict paradigm, but knowing the crowd I'm trying to please, I'd
rather not.
Your comments echoed some feelings I had when I faced this technical
difficulty and a re-examination of the task has me fairly well
convinced that what I want to do is legitimate. Whether WebObjects
has the flexibility is something else, but the solutions proposed so
far , in particular "EOtilities.localInstanceOfObject" support the
idea that WebObjects has foreseen this requirement. I do realize this
special steps forces me to investigate my model/paradigm and I will
have to take the responsibility to make sure I do not just push
forward a problem in my model design.
I taught this was a newbie question , but the discussions it raised
have been most enlightening.
I implemented the solution based on EOUtilities.localInstanceOfObject
after reviewing some "Use Cases" to evaluate the potential impacts,
and I'm convinced the need is legitimate and the solution reliable.
What more can I ask. On to the next feature.
thanks to all.
--
Louis Demers ing.
email@hidden
_______________________________________________
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