I've been thinking about this off and on now, and seems to me like, as with many things, there would be several ways to approach this. Remember the idea is that, today, a user comes to me and says, "Jeff, I need the name / address of all customers in the southeast".
Next week, it's "Jeff I need all residential customers in the company with good credit. I need their name/address, and credit score". After that it might be, "Jeff, I need name/address/credit score and date of last purchase, for all customers in the Northeast with annual sales over $5,000".
So, I never know what I'm going to need to extract, and what the parameters are going to be -- but, I know that somehow if I can build some common functionality that might just need a little "tweaking", it will make my life easier.
Based on what I've learned from you guys so far, I think I would consider each of these requests as a separate application, although I might start one application by copying what I've already done on one of the prior ones.
Or I might just add functions to my class of customers to extract, based on the different parameters, and then my modules would call whatever function was appropriate.
And now with what I think I'm learning from you re. inheritance, I might use that to get the customers I need.
Anyway, I think this is all a lot clearer to me now after this discussion -- UNLESS my mind is totally muddled and you guys tell me I actually haven't got a CLUE what I'm talking about!
