I'm trying to think about the best way to handle group memberships on a website. People sign up and select checkboxes in a list of interests. Every week we send out interest-themed emails to those members that indicated that interest.
however i store the information in the database, while i am working with the lists and generating lists of email addresses or manipulating group memberships, the composite design pattern looked interesting.
it would be easy to populate the group, then do some aggregating functions that say... generate the list of email addresses based on the interests.
but i'm not sure i'm seeing any other advantages. i do need something scalable, and flexible.