• 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: Pop Up Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pop Up Question


  • Subject: Re: Pop Up Question
  • From: Arturo Perez <email@hidden>
  • Date: Wed, 31 Mar 2004 14:36:31 -0500

Hunter Hillegas wrote:

I didn't want a relationship because categories can be removed in the future but I want old advertiser records to still have the value... So using simple strings seems easiest.


Alternatively, you could have some metadata associated with the categories. My thinking is driven by a scenario like this:


Advertiser has category ZZ.
Category ZZ is deleted. (old records remain with ZZ category as per above)
A report is run.
61.56% of Advertiser have category ZZ. Marketing persons say "WTF? We deleted that MoFo. Why is it still showing up?"
Developers look sheepish.



So, instead of simple String-like categories you can have one that looks like (e.g.)
Category {
String name;
boolean isObsolete;
Date obsoletedDate;
Business PandLCenter;
<etc, etc>
}


Then you do have the hassle of filtering where appropriate but you also have clean entry/exit data for advertiser category.

I did it your way and the 5 or 6 dozen if clauses for various marketing initiatives got to be a bear after 6-12 months :-)

-arturo
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Pop Up Question (From: Hunter Hillegas <email@hidden>)
 >Re: Pop Up Question (From: James Cicenia <email@hidden>)
 >Re: Pop Up Question (From: Hunter Hillegas <email@hidden>)

  • Prev by Date: Re: Pop Up Question
  • Next by Date: Project-based Java templates in WO5.2.3
  • Previous by thread: Re: Pop Up Question
  • Next by thread: Re: Pop Up Question
  • Index(es):
    • Date
    • Thread