Click here to Skip to main content
12,828,983 members (33,649 online)

Design and Architecture

 
GeneralRe: Searching for a frmework or Library for managing documents Pin
Eddy Vluggen10-Oct-12 9:48
memberEddy Vluggen10-Oct-12 9:48 
GeneralRe: Searching for a frmework or Library for managing documents Pin
jschell17-Sep-12 10:05
memberjschell17-Sep-12 10:05 
AnswerRe: Searching for a frmework or Library for managing documentsa Pin
jschell17-Sep-12 10:11
memberjschell17-Sep-12 10:11 
QuestionDesign Pattern Recommendation Pin
Mike-MadBadger9-Sep-12 11:45
memberMike-MadBadger9-Sep-12 11: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 8:22
memberRavi Bhavnani25-Sep-12 8:22 
QuestionWhere can I find reference information on terminology and entities used in MRPII or Production Control systems? Pin
Brady Kelly28-Aug-12 5:26
memberBrady Kelly28-Aug-12 5: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 5:50
protectorPete O'Hanlon28-Aug-12 5:50 
GeneralRe: Where can I find reference information on terminology and entities used in MRPII or Production Control systems? Pin
Brady Kelly28-Aug-12 5:57
memberBrady Kelly28-Aug-12 5:57 
GeneralRe: Where can I find reference information on terminology and entities used in MRPII or Production Control systems? Pin
Vivic3-Sep-12 23:39
memberVivic3-Sep-12 23:39 
AnswerRe: Where can I find reference information on terminology and entities used in MRPII or Production Control systems? Pin
Andrei Straut5-Sep-12 9:40
memberAndrei Straut5-Sep-12 9:40 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170326.1 | Last Updated 16 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid