On 17.08.2007, at 10:20, Kieran Kelleher wrote:
I prefer using the Strategy Design Pattern instead of inheritance whenever possible
Actually this really makes sense here, as the domain objects differ normally not in different attributes (which would make it a candiate for inheritance) but different behaviour.
As I understand it for this case, you'd have a single "Domain" entity and class and an open number of "behaviour" plugins, selected depending on the TLD entry, right?
It seems to be a good solution for this problem if there is no additional / different information stored for the different "domain types".
cug _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]