Re: EditingContexts
Re: EditingContexts
- Subject: Re: EditingContexts
- From: Chuck Hill <email@hidden>
- Date: Mon, 05 May 2003 11:44:04 -0700
- Organization: Global Village Consulting, Inc.
Gino Pacitti wrote:
Hi
Could anyone give me a summation of the session defaultEditingContext
and the application shared defaulteditingContext what is the difference
between them.
Session's defaultEditingContext hold session (user) specific copies of
EO objects. The defaultSharedEditingContext is used for *read only*
copies of objects that are shared among all sessions. I expect there
are probably fairly extensive docs on the Shared Editing Context on
Apple's site.
Also what is happening - User A fetches 5 rows from the db and iterates
through a the list on a web page then User B comes along and gets a
similar page. Are they both seeing the same objects from memory?
Only if the objects are both in the shared editing context.
Where do the two editingContexts fit into this?
Think of an EC as a private sandbox.
How can you guarantee up to date information for the uses?
That is a big question. At some level of exactness it is impossible.
Search the archives for 'refresh'. That should get you started.
Chuck
Any thoughtts would be great - thanks
Gino
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
Progress is the mother of all problems.
- G. K. Chesterton
_______________________________________________
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.