Click here to Skip to main content
15,916,945 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad27-Dec-06 6:11
professionalPaul Conrad27-Dec-06 6:11 
GeneralRe: First Square Post On A New Forum Pin
Bassam Abdul-Baki27-Dec-06 7:27
professionalBassam Abdul-Baki27-Dec-06 7:27 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad27-Dec-06 7:47
professionalPaul Conrad27-Dec-06 7:47 
GeneralRe: First Square Post On A New Forum Pin
Bassam Abdul-Baki27-Dec-06 9:41
professionalBassam Abdul-Baki27-Dec-06 9:41 
GeneralRe: First Square Post On A New Forum Pin
Pete O'Hanlon28-Dec-06 8:32
mvePete O'Hanlon28-Dec-06 8:32 
QuestionWhat about design patterns? Pin
CPallini22-Dec-06 10:35
mveCPallini22-Dec-06 10:35 
AnswerRe: What about design patterns? Pin
Pete O'Hanlon22-Dec-06 10:53
mvePete O'Hanlon22-Dec-06 10:53 
GeneralRe: What about design patterns? Pin
Member 122050708-May-20 12:17
Member 122050708-May-20 12:17 
Focus your design effort on the highest level business logic and unique requirements.
'Patterns' are a trap.
Specifically, if you have some message coming in on your port,
Your design will consist of a description of that message, and the action taken.

Whether your code 'Polls' or uses 'Events' is irrelevant to this design.
At one layer or another we are ALWAYS polling:

These are your options:
Write code that 'polls'.
Use a library that polls on another thread and raises an event to your code.
Use a library that uses lower level hardware that polls at an embedded level.
Use a library, that uses hardware, that uses a chip that raises an interrupt as a result of the microprocessor 'polling' pins very quickly.

If your highest level design is agnostic of 'design' patterns, then it is done right.
It can be implemented successfully by any combination of language, or 'pattern'
GeneralRe: What about design patterns? Pin
Pete O'Hanlon9-May-20 1:32
mvePete O'Hanlon9-May-20 1:32 
AnswerRe: What about design patterns? Pin
Mairaaj Khan27-Dec-06 20:38
professionalMairaaj Khan27-Dec-06 20:38 
GeneralRe: What about design patterns? Pin
CPallini28-Dec-06 0:12
mveCPallini28-Dec-06 0:12 
GeneralRe: What about design patterns? Pin
Mairaaj Khan28-Dec-06 18:47
professionalMairaaj Khan28-Dec-06 18:47 
GeneralRe: What about design patterns? Pin
CPallini28-Dec-06 21:41
mveCPallini28-Dec-06 21:41 
GeneralRe: What about design patterns? Pin
Divyang Mithaiwala2-Jan-07 23:10
Divyang Mithaiwala2-Jan-07 23:10 
GeneralRe: What about design patterns? Pin
Mairaaj Khan4-Jan-07 20:23
professionalMairaaj Khan4-Jan-07 20:23 
QuestionDesign Guidelines : Polling vs Events Pin
yuvalmarco22-Dec-06 0:47
yuvalmarco22-Dec-06 0:47 
AnswerRe: Design Guidelines : Polling vs Events Pin
Pete O'Hanlon22-Dec-06 1:27
mvePete O'Hanlon22-Dec-06 1:27 
AnswerRe: Design Guidelines : Polling vs Events Pin
James R. Twine27-Dec-06 2:04
James R. Twine27-Dec-06 2:04 
AnswerRe: Design Guidelines : Polling vs Events Pin
karam chandrabose7-Jan-07 19:15
karam chandrabose7-Jan-07 19:15 
GeneralFirst post on new forum Pin
PJ Arends20-Dec-06 23:45
professionalPJ Arends20-Dec-06 23:45 
GeneralRe: First post on new forum Pin
Hamid_RT21-Dec-06 1:23
Hamid_RT21-Dec-06 1:23 
GeneralRe: First post on new forum Pin
Sebastian Schneider22-Dec-06 1:39
Sebastian Schneider22-Dec-06 1:39 
GeneralRe: First post on new forum Pin
J. Dunlap27-Dec-06 3:35
J. Dunlap27-Dec-06 3:35 

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.