• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shared vs regular editing contexts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shared vs regular editing contexts


  • Subject: Re: Shared vs regular editing contexts
  • From: Jonathan Rochkind <email@hidden>
  • Date: Mon, 9 Feb 2004 11:36:16 -0600

Have you read the relatively good documentation on shared editing contexts? They are intended for a specific purpose---mainly, if you want to make changes to an object in a shared EC, you have to do it in a specific way. Myself, I've always found shared ECs to be too cumbersome, and too confusing to figure out how to use them properly, and I don't use them. This may depend on the nature of your app though; many people have found them very useful, reportedly.

And now I'm having trouble finding the documentation on shared ECs that I know I've read before and found enlightening... Well, there's a brief discussion at the top of the EOSharedEditingContext documentation itself:
http://developer.apple.com/documentation/WebObjects/Reference/API/com/webobjects/eocontrol/EOSharedEditingContext.html


I could have sworn there was something in the EOF book too, at:
http://developer.apple.com/documentation/WebObjects/Enterprise_Objects/index.html#//apple_ref/doc/uid/TP30001011

But now I can't find anything.

--Jonathan



At 12:15 PM -0500 2/9/04, arturo wrote:
Currently I have a problem with my editing contexts.  The non-shared ones
and the default shared one interfere
with each other causing all kinds of grief.  I'm sort of loathe to just
blanket turn off the shared context as my
application is read-mostly.

So, I'm asking what is the best way to keep the shared contexts happy?  My
latest attempt is to just
invalidate all objects in both the updatable and the shared context.  But
I'm concerned that that may
be too extreme and cause a whole bunch of unnecessary database traffic.
Should I just refault everything?
Or should I just give up on the shared contexts?

Thanks in advance
-arturo
http://webobjects.meetup.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Shared vs regular editing contexts
      • From: Sam Barnum <email@hidden>
    • Re: Shared vs regular editing contexts
      • From: Art Isbell <email@hidden>
    • Re: Shared vs regular editing contexts
      • From: Arturo PĂ©rez <email@hidden>
References: 
 >Shared vs regular editing contexts (From: arturo <email@hidden>)

  • Prev by Date: Re: ReportMill Alternatives?
  • Next by Date: WOForms
  • Previous by thread: Shared vs regular editing contexts
  • Next by thread: Re: Shared vs regular editing contexts
  • Index(es):
    • Date
    • Thread