Click here to Skip to main content

Design and Architecture

 
AnswerRe: Searching for a frmework or Library for managing documents PinmemberEddy Vluggen17-Sep-12 1:00 
GeneralRe: Searching for a frmework or Library for managing documents PinmemberNH7117-Sep-12 1:37 
GeneralRe: Searching for a frmework or Library for managing documents PinmemberEddy Vluggen17-Sep-12 1:49 
GeneralRe: Searching for a frmework or Library for managing documents Pinmemberdojohansen10-Oct-12 5:23 
GeneralRe: Searching for a frmework or Library for managing documents PinmemberEddy Vluggen10-Oct-12 9:48 
GeneralRe: Searching for a frmework or Library for managing documents Pinmemberjschell17-Sep-12 10:05 
AnswerRe: Searching for a frmework or Library for managing documentsa Pinmemberjschell17-Sep-12 10:11 
QuestionDesign Pattern Recommendation PinmemberMike-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 PinmemberRavi Bhavnani25-Sep-12 8:22 
QuestionWhere can I find reference information on terminology and entities used in MRPII or Production Control systems? PinmemberBrady Kelly28-Aug-12 5:26 
AnswerRe: Where can I find reference information on terminology and entities used in MRPII or Production Control systems? PinprotectorPete O'Hanlon28-Aug-12 5:50 
GeneralRe: Where can I find reference information on terminology and entities used in MRPII or Production Control systems? PinmemberBrady Kelly28-Aug-12 5:57 
GeneralRe: Where can I find reference information on terminology and entities used in MRPII or Production Control systems? PinmemberVivic3-Sep-12 23:39 
AnswerRe: Where can I find reference information on terminology and entities used in MRPII or Production Control systems? PinmemberAndrei Straut5-Sep-12 9:40 
QuestionCurrent Best Practices Pinmemberdhofferber26-Aug-12 8:45 
AnswerRe: Current Best Practices PinmemberEddy Vluggen28-Aug-12 6:18 
GeneralRe: Current Best Practices Pinmemberdhofferber28-Aug-12 7:58 
GeneralRe: Current Best Practices PinmemberEddy Vluggen28-Aug-12 8:32 
GeneralRe: Current Best Practices PinmemberJonathanEdwards5-Sep-12 8:37 
GeneralRe: Current Best Practices Pinmemberdhofferber5-Sep-12 8:54 
AnswerRe: Current Best Practices PinmemberExpert Coming20-Sep-12 15:32 
QuestionNeed Suggestions For a Good Formal Requirements Tool PinmemberPatricia.Jones012324-Aug-12 6:07 
AnswerRe: Need Suggestions For a Good Formal Requirements Tool PinmemberEddy Vluggen26-Aug-12 0:39 
QuestionUI Guidelines PinmemberBrian C Hart22-Aug-12 12:04 
AnswerRe: UI Guidelines PinprotectorPete O'Hanlon22-Aug-12 12:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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.1411019.1 | Last Updated 18 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid