Click here to Skip to main content
15,904,638 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralMaking a menu editable. Pin
Brady Kelly7-Aug-08 4:46
Brady Kelly7-Aug-08 4:46 
GeneralRe: Making a menu editable. Pin
Pete O'Hanlon7-Aug-08 4:56
mvePete O'Hanlon7-Aug-08 4:56 
GeneralRe: Making a menu editable. Pin
Ray Cassick9-Aug-08 8:04
Ray Cassick9-Aug-08 8:04 
GeneralRe: Making a menu editable. Pin
Brady Kelly11-Aug-08 3:37
Brady Kelly11-Aug-08 3:37 
QuestionCommand pattern implementation for testing Pin
Nathan Gloyn4-Aug-08 4:43
Nathan Gloyn4-Aug-08 4:43 
AnswerRe: Command pattern implementation for testing Pin
led mike5-Aug-08 5:17
led mike5-Aug-08 5:17 
GeneralRe: Command pattern implementation for testing Pin
Nathan Gloyn5-Aug-08 6:10
Nathan Gloyn5-Aug-08 6:10 
GeneralRe: Command pattern implementation for testing Pin
led mike5-Aug-08 6:47
led mike5-Aug-08 6:47 
Lowest of the Low wrote:
To be clear I'm asking the best way


My experience in forum discussions on design issues indicates that it's normally not possible to gain sufficient understanding of the problem domain (due to the limits of text messaging conversations) to definitively know what the "best" solution is. Most likely what you can get is some ideas. Some may not be based on a correct understanding of your problem domain and therefore won't seem very good to you because you do have a more comprehensive understanding of the problem domain. Ultimately it will be up to you to determine which is the "best" solution.

Lowest of the Low wrote:
but I don't want to have to create a concrete class for each type of selenium action i.e. method but at the same time in my receiver class I don't want to have a huge switch statement that caters for each type of command.


Keep in mind what I said above about not having a clear picture, but that statement seems to say something like, we have options A and B and I don't want to do either. So I guess you are asking if someone knows of a another option. I suppose delegates or since you are in 3.5 maybe Lambda expressions could be leveraged to provide a solution that is neither a class for each selenium action nor conditional statements for each selenium action.

I am doubtful that delegates are superior to classes and I have not yet ventured into 3.5 and Lambda. However many people that have seem enamored with it, so you might want to spend some time looking at it.


led mike

GeneralRe: Command pattern implementation for testing Pin
Nathan Gloyn5-Aug-08 23:58
Nathan Gloyn5-Aug-08 23:58 
GeneralRe: Command pattern implementation for testing [modified] Pin
led mike6-Aug-08 5:44
led mike6-Aug-08 5:44 
QuestionPerformance in Web applications versus Web site projects in Visual Studio Pin
heidihund1-Aug-08 1:38
heidihund1-Aug-08 1:38 
QuestionRe: Performance in Web applications versus Web site projects in Visual Studio Pin
led mike1-Aug-08 5:43
led mike1-Aug-08 5:43 
AnswerRe: Performance in Web applications versus Web site projects in Visual Studio Pin
Paul Conrad1-Aug-08 8:28
professionalPaul Conrad1-Aug-08 8:28 
AnswerRe: Performance in Web applications versus Web site projects in Visual Studio Pin
Paul Conrad1-Aug-08 8:29
professionalPaul Conrad1-Aug-08 8:29 
AnswerRe: Performance in Web applications versus Web site projects in Visual Studio Pin
Nicholas Butler1-Aug-08 22:34
sitebuilderNicholas Butler1-Aug-08 22:34 
Questionwant to create a cms in asp Pin
nibinki33331-Jul-08 8:04
nibinki33331-Jul-08 8:04 
QuestionRe: want to create a cms in asp Pin
led mike31-Jul-08 8:39
led mike31-Jul-08 8:39 
AnswerRe: want to create a cms in asp Pin
Paul Conrad2-Aug-08 18:50
professionalPaul Conrad2-Aug-08 18:50 
AnswerRe: want to create a cms in asp Pin
alex.barylski12-Aug-08 22:46
alex.barylski12-Aug-08 22:46 
QuestionDynamic DB Connection based on user type Pin
vicky45730-Jul-08 19:30
vicky45730-Jul-08 19:30 
QuestionRe: Dynamic DB Connection based on user type Pin
led mike31-Jul-08 7:23
led mike31-Jul-08 7:23 
AnswerRe: Dynamic DB Connection based on user type Pin
vicky45731-Jul-08 10:31
vicky45731-Jul-08 10:31 
AnswerRe: Dynamic DB Connection based on user type Pin
Mark Churchill2-Aug-08 18:05
Mark Churchill2-Aug-08 18:05 
QuestionBig Desktop Database Application - Architecture Help needed [modified] Pin
abhijitbkulkarni24-Jul-08 2:39
abhijitbkulkarni24-Jul-08 2:39 
AnswerRe: Big Desktop Database Application - Architecture Help needed Pin
Pete O'Hanlon24-Jul-08 8:49
mvePete O'Hanlon24-Jul-08 8:49 

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.