• 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: duplicating an EO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: duplicating an EO


  • Subject: Re: duplicating an EO
  • From: Mike Schrag <email@hidden>
  • Date: Mon, 21 Mar 2011 14:59:36 -0400

>> I'm amazed that this hasn't made its way into WOnder yet... well maybe people still need a reason to buy Chuck's book. I mean, with all the other really excellent WO books out there...
>
> I think that Mike was going to at one point, then did not for some reason that I don't recall.  I have some ideas to make it even cooler (make more decisions based on the model, use less code).  If I do that, I'll will put it into Wonder.
i didn't do it because i didn't feel like there was enough granularity in the copy controls ... if i was going to do it now, i think i'd write a copy method that took a subclass of ERXKeyFilter (ERXCloneFilter or something) that used ERXKeyFilter traversal to specify what to shallow copy vs what to deep copy vs what not to copy. i probably would extract code from ERXRestRequestNode into some more generic concept of an ERXKeyTraversal that took a root object and a filter and did delegate callbacks ... or something ...

ms _______________________________________________
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

References: 
 >Re: duplicating an EO (From: Theodore Petrosky <email@hidden>)
 >Re: duplicating an EO (From: David Avendasora <email@hidden>)
 >Re: duplicating an EO (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: duplicating an EO
  • Next by Date: D2W defaultSortOrdering error
  • Previous by thread: Re: duplicating an EO
  • Next by thread: Re: duplicating an EO
  • Index(es):
    • Date
    • Thread