Click here to Skip to main content
15,900,517 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
nstk13-Nov-11 3:36
nstk13-Nov-11 3:36 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Richard MacCutchan13-Nov-11 3:44
mveRichard MacCutchan13-Nov-11 3:44 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
nstk13-Nov-11 4:11
nstk13-Nov-11 4:11 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos14-Nov-11 0:18
professionalNagy Vilmos14-Nov-11 0:18 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
jschell14-Nov-11 8:09
jschell14-Nov-11 8:09 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos14-Nov-11 0:29
professionalNagy Vilmos14-Nov-11 0:29 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
nstk14-Nov-11 8:51
nstk14-Nov-11 8:51 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos14-Nov-11 23:06
professionalNagy Vilmos14-Nov-11 23:06 
Here is a simple set of candidate classes:

                  +------------+
                  |  Customer  |
                  |            |
                  +------------+
                        |
                        v
+------------+    +------------+    +------------+
|  Supplier  |--->|  Contact   |--->|   Person   |
|            |    | <Abstract> |    |            |
+------------+    +------------+    +------------+
                         |
                  +------+--------+
                  |  impliments   |
           +------------+    +------------+
           |  Company   |    | Individual |
           |            |    |            |
           +------------+    +------------+



Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
nstk15-Nov-11 3:51
nstk15-Nov-11 3:51 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos15-Nov-11 4:08
professionalNagy Vilmos15-Nov-11 4:08 
AnswerRe: Could there be a base class for customers, employees and suppliers? Pin
RobCroll13-Nov-11 10:38
RobCroll13-Nov-11 10:38 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos14-Nov-11 0:14
professionalNagy Vilmos14-Nov-11 0:14 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
R. Giskard Reventlov14-Nov-11 1:51
R. Giskard Reventlov14-Nov-11 1:51 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
RobCroll14-Nov-11 10:10
RobCroll14-Nov-11 10:10 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos14-Nov-11 11:43
professionalNagy Vilmos14-Nov-11 11:43 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
nstk14-Nov-11 22:11
nstk14-Nov-11 22:11 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos14-Nov-11 22:36
professionalNagy Vilmos14-Nov-11 22:36 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
RobCroll15-Nov-11 16:56
RobCroll15-Nov-11 16:56 
QuestionDesign decision in a larger class hierarchy Pin
CDP180221-Oct-11 3:10
CDP180221-Oct-11 3:10 
QuestionSliding Scale Solution Pin
kmoorevs17-Oct-11 11:11
kmoorevs17-Oct-11 11:11 
AnswerRe: Sliding Scale Solution Pin
Paul Conrad17-Oct-11 11:38
professionalPaul Conrad17-Oct-11 11:38 
GeneralRe: Sliding Scale Solution Pin
kmoorevs18-Oct-11 4:21
kmoorevs18-Oct-11 4:21 
GeneralRe: Sliding Scale Solution Pin
Paul Conrad18-Oct-11 5:24
professionalPaul Conrad18-Oct-11 5:24 
GeneralRe: Sliding Scale Solution Pin
Bert Mitton18-Oct-11 7:43
professionalBert Mitton18-Oct-11 7:43 
GeneralRe: Sliding Scale Solution Pin
Paul Conrad18-Oct-11 14:31
professionalPaul Conrad18-Oct-11 14:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.