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

Re: structure opinions


  • Subject: Re: structure opinions
  • From: Ken Anderson <email@hidden>
  • Date: Sat, 16 Nov 2013 10:01:25 -0500

David,

On Nov 15, 2013, at 10:34 AM, David Avendasora <email@hidden> wrote:

Yeah, once you’ve abstracted the different properties and behaviors to different Roles, those can all inherit from a common Role superclass, but that is only really useful if there are attributes and relationships that you need to save in the database that the different subclasses all have in common, otherwise you are again forcing an architecture on something that doesn’t really need it, and could become a limitation in the future.


I respectfully disagree.  They at least share “Role Name” between them.  AND, if you want to iterate over roles, and add new roles in the future, it’s much more convenient to have a to-many relationship for them.

Ken
 _______________________________________________
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: structure opinions
      • From: David Avendasora <email@hidden>
References: 
 >Re: structure opinions (From: Ray Kiddy <email@hidden>)
 >Re: structure opinions (From: David Avendasora <email@hidden>)
 >Re: structure opinions (From: Ken Anderson <email@hidden>)
 >Re: structure opinions (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: Edit url for WO application
  • Next by Date: Re: structure opinions
  • Previous by thread: Re: structure opinions
  • Next by thread: Re: structure opinions
  • Index(es):
    • Date
    • Thread