RE: Question on ERXEC
RE: Question on ERXEC
- Subject: RE: Question on ERXEC
- From: "Runyan, Darich" <email@hidden>
- Date: Mon, 17 Aug 2009 10:19:11 -0400
How does one go about fully using Wonder? Is this just a matter of using
ERXApplication and ERXSession or is their more to it?
Thanks for the links, I will watch the video and read up.
-----Original Message-----
From: David LeBer
To: Runyan, Darich
Cc: 'email@hidden'
Sent: 8/17/2009 9:55 AM
Subject: Re: Question on ERXEC
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