• 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: [Somewhat OT] Code organization question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Somewhat OT] Code organization question


  • Subject: Re: [Somewhat OT] Code organization question
  • From: Lachlan Deck <email@hidden>
  • Date: Fri, 27 Mar 2009 07:51:40 +1100

On 27/03/2009, at 6:10 AM, Stamenkovic Florijan wrote:

Hi Lachlan,

On Mar 26, 2009, at 13:53, Lachlan Deck wrote:

Does lazy instantiating for each prop work?

If I understand you correctly, you are thinking of initializing the property dependence meta-info lazily.


I thought about this. It would not work. Unfortunately I need to obtain an EOClassDescription at the point in which I define the property dependence. This is because property dependencies are defined on DataType objects, and my EOF specific DataTypes are based on EOClassDescriptions. So, to postpone this I would need to encapsulate the meta-info outside of the DataType, but at the same time somehow explain to that DataType that there is info waiting for it, until a time the DataType will need it. Even if possible, this is a big mess.

If you meant something else, please explain,

Nothing else at this time. Perhaps a little more explanation about your derived properties mechanism will trigger some extra thinking.


with regards,
--

Lachlan Deck

_______________________________________________
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


  • Follow-Ups:
    • Re: [Somewhat OT] Code organization question
      • From: Stamenkovic Florijan <email@hidden>
References: 
 >[Somewhat OT] Code organization question (From: Stamenkovic Florijan <email@hidden>)
 >Re: [Somewhat OT] Code organization question (From: Lachlan Deck <email@hidden>)
 >Re: [Somewhat OT] Code organization question (From: Stamenkovic Florijan <email@hidden>)

  • Prev by Date: Re: newEO.localInstanceIn(localEditingContext)
  • Next by Date: Re: newEO.localInstanceIn(localEditingContext)
  • Previous by thread: Re: [Somewhat OT] Code organization question
  • Next by thread: Re: [Somewhat OT] Code organization question
  • Index(es):
    • Date
    • Thread