Click here to Skip to main content
15,909,953 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Multiple Versions Of Application Pin
Expert Coming24-Sep-12 8:24
Expert Coming24-Sep-12 8:24 
QuestionMake everything a tree? Pin
Leslie Sanford18-Sep-12 7:28
Leslie Sanford18-Sep-12 7:28 
AnswerRe: Make everything a tree? Pin
jschell18-Sep-12 9:01
jschell18-Sep-12 9:01 
GeneralRe: Make everything a tree? Pin
Ravi Bhavnani25-Sep-12 7:19
professionalRavi Bhavnani25-Sep-12 7:19 
QuestionSearching for a frmework or Library for managing documentsa Pin
NH7116-Sep-12 22:52
NH7116-Sep-12 22:52 
AnswerRe: Searching for a frmework or Library for managing documents Pin
Eddy Vluggen17-Sep-12 0:00
professionalEddy Vluggen17-Sep-12 0:00 
GeneralRe: Searching for a frmework or Library for managing documents Pin
NH7117-Sep-12 0:37
NH7117-Sep-12 0:37 
GeneralRe: Searching for a frmework or Library for managing documents Pin
Eddy Vluggen17-Sep-12 0:49
professionalEddy Vluggen17-Sep-12 0:49 
GeneralRe: Searching for a frmework or Library for managing documents Pin
dojohansen10-Oct-12 4:23
dojohansen10-Oct-12 4:23 
GeneralRe: Searching for a frmework or Library for managing documents Pin
Eddy Vluggen10-Oct-12 8:48
professionalEddy Vluggen10-Oct-12 8:48 
GeneralRe: Searching for a frmework or Library for managing documents Pin
jschell17-Sep-12 9:05
jschell17-Sep-12 9:05 
AnswerRe: Searching for a frmework or Library for managing documentsa Pin
jschell17-Sep-12 9:11
jschell17-Sep-12 9:11 
QuestionDesign Pattern Recommendation Pin
M-Badger9-Sep-12 10:45
M-Badger9-Sep-12 10:45 
I still relatively new to most things but in particular very new to design patterns and I'm struggling to pick a good pattern for a particular task.

I've chosen to do the Mandelbrot 'rite of passage' by trying to build a 'pluggable' class structure so that I learn more from this exercise than perhaps I otherwise would.

What I have right now looks like (I think) the strategy pattern with the builder pattern (I think) hidden in the constructors. I.e. I have an Imager class that has two members, both of which are of an Interface type. One interface is for the fractal set (mandelbrot, julia etc.) and provides a pluggable iteration / algorithm. The second is for a colouriser which provides a way to turn the results of the iteration into a colour. The set has a member that is an interface type, it is for the specific F(Zn) calculation in Zn+1 = F(Zn) + c. The colouriser also has one member that is an Interface type, it is for mapping the output of the colouriser to a specific colour. I think that is the strategy pattern? But I'm not certain (a) if it is, (b) if I've implemented it correctly or (c) if there's a better choice.

The Imager constructor can take a new set and a new colouriser, The set xcan take a new function and the colouriser can take a new mapper. I think that's builder?

Any help or guidance on a good choice for the job I described above would be very welcome as indeed would any help deciphering what I've already done!

Happy to provide code etc. as required to make sense of the mangled gibberish above.

Thanks,
Mike
AnswerRe: Design Pattern Recommendation Pin
Ravi Bhavnani25-Sep-12 7:22
professionalRavi Bhavnani25-Sep-12 7:22 
QuestionWhere can I find reference information on terminology and entities used in MRPII or Production Control systems? Pin
Brady Kelly28-Aug-12 4:26
Brady Kelly28-Aug-12 4:26 
AnswerRe: Where can I find reference information on terminology and entities used in MRPII or Production Control systems? Pin
Pete O'Hanlon28-Aug-12 4:50
mvePete O'Hanlon28-Aug-12 4:50 
GeneralRe: Where can I find reference information on terminology and entities used in MRPII or Production Control systems? Pin
Brady Kelly28-Aug-12 4:57
Brady Kelly28-Aug-12 4:57 
GeneralRe: Where can I find reference information on terminology and entities used in MRPII or Production Control systems? Pin
Vivi Chellappa3-Sep-12 22:39
professionalVivi Chellappa3-Sep-12 22:39 
AnswerRe: Where can I find reference information on terminology and entities used in MRPII or Production Control systems? Pin
Andrei Straut5-Sep-12 8:40
Andrei Straut5-Sep-12 8:40 
QuestionCurrent Best Practices Pin
dhofferber26-Aug-12 7:45
dhofferber26-Aug-12 7:45 
AnswerRe: Current Best Practices Pin
Eddy Vluggen28-Aug-12 5:18
professionalEddy Vluggen28-Aug-12 5:18 
GeneralRe: Current Best Practices Pin
dhofferber28-Aug-12 6:58
dhofferber28-Aug-12 6:58 
GeneralRe: Current Best Practices Pin
Eddy Vluggen28-Aug-12 7:32
professionalEddy Vluggen28-Aug-12 7:32 
GeneralRe: Current Best Practices Pin
JonathanEdwards5-Sep-12 7:37
JonathanEdwards5-Sep-12 7:37 
GeneralRe: Current Best Practices Pin
dhofferber5-Sep-12 7:54
dhofferber5-Sep-12 7:54 

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.