Re: Pop Up Question
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.