Re: Question on ERXEC
Re: Question on ERXEC
- Subject: Re: Question on ERXEC
- From: David LeBer <email@hidden>
- Date: Mon, 17 Aug 2009 09:55:28 -0400
On 17-Aug-09, at 9:37 AM, Runyan, Darich wrote:
I have been looking into using ERXEC as the editing context for the
next app
that I am planning. My question is what is the best way to use it.
Is
there a way to make the ERXEC the default context so that calls to
deaultEditingContext give you an ERXEC or do I need to create a new
one per
use or possible per session?
Thanks
If you are fully using Wonder then ERXEC is patched in place of
EOEditingContext so when you call Session defaultEditingContext you
will get an ERXEC.
Having said that, the value of ERXEC is it's autolocking which really
applies when you are creating your own. Take a look at Chuck Hills
'Quite Good Practices' video [1] from last years WOWODC for some
suggestions on that (and the accompanying thread in this list last
month [2]) and my blog post on using multiple ECs [3].
[1] <http://www.wocommunity.org/podcasts/WOWODC08_BestPratices.mp4>
[2] <http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00433.html
>
[3] <http://davidleber.net/?p=322>
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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