• 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: Entity Inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entity Inheritance


  • Subject: Re: Entity Inheritance
  • From: Chuck Hill <email@hidden>
  • Date: Sun, 30 Nov 2008 21:37:01 -0800


On Nov 30, 2008, at 9:19 PM, Ted Archibald wrote:

Ted "Plays with Fire" Archibald?


I suppose I'll clarify a bit

This app will have a small user base (<6), and will be in a controlled environment. That said I don't intend on switching objects that often, but approximately one in every 1000 objects created would have to be changed due to data entry errors. Ultimately the object type should be set for life, save for the occasional error.

It seems to me that it'd be easier to handle the errors generated when fetching/saving, rather than create and maintain a helper class.


Create a new object, copy the data over, detach the old one, attach the new one. Or gamble. Your call.


Chuck


On Sun, Nov 30, 2008 at 8:52 PM, Mike Schrag <email@hidden> wrote:
My personal advice... Don't do it.
2nd that .. It's almost always a red flag of an incorrect design. Objects rarely change types, but they often change roles. It sounds to me like maybe your model isn't quite right here and those objects should have another relationship that is changing rather than the intrinsic property of the object.


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

_______________________________________________
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

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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: 
 >Entity Inheritance (From: "Ted Archibald" <email@hidden>)
 >Re: Entity Inheritance (From: Ken Anderson <email@hidden>)
 >Re: Entity Inheritance (From: Mike Schrag <email@hidden>)
 >Re: Entity Inheritance (From: "Ted Archibald" <email@hidden>)

  • Prev by Date: Re: Entity Inheritance
  • Previous by thread: Re: Entity Inheritance
  • Index(es):
    • Date
    • Thread