Click here to Skip to main content
15,914,221 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
Questionbookkeeping agency Pin
alexrad29-Mar-07 10:04
alexrad29-Mar-07 10:04 
AnswerRe: bookkeeping agency Pin
led mike29-Mar-07 10:54
led mike29-Mar-07 10:54 
GeneralRe: bookkeeping agency Pin
alexrad29-Mar-07 13:42
alexrad29-Mar-07 13:42 
QuestionDoFactory.com Pin
Brendan Vogt29-Mar-07 1:13
Brendan Vogt29-Mar-07 1:13 
AnswerRe: DoFactory.com Pin
Pete O'Hanlon29-Mar-07 22:49
mvePete O'Hanlon29-Mar-07 22:49 
GeneralRe: DoFactory.com Pin
Brendan Vogt29-Mar-07 23:06
Brendan Vogt29-Mar-07 23:06 
GeneralRe: DoFactory.com Pin
Pete O'Hanlon29-Mar-07 23:22
mvePete O'Hanlon29-Mar-07 23:22 
GeneralBase Classes and Factory Pattern Pin
Brady Kelly27-Mar-07 19:26
Brady Kelly27-Mar-07 19:26 
I use an IMessageTransport to send various B2B messages and receive replies. It has various methods related to various business functions, so e.g. I will pass a DocumentMessage to the SubmitDocument method, or a StatusRequest to the GetDocStatus method. A requirement has arisen to include, lets call it, a SenderID, with each message sent. Now, before I do any refactoring, I need a Guid SenderID param for each IMessageTransport method.

Now, to remove this duplication I could delegate the insertion of the SenderID to the implementors of IMessageTransport, but I may want to allow these to also send messages from other senders. I seem to have two choices: all IMessageTransport methods must be passed an object that derives from MessageBase, which exposes a SenderID property, and populates this from config, or an IMessage interface, with the same property that is populated by a sender dedicated factory class. Which would be the better direction to look in?



GeneralRe: Base Classes and Factory Pattern Pin
Pete O'Hanlon27-Mar-07 22:40
mvePete O'Hanlon27-Mar-07 22:40 
GeneralRe: Base Classes and Factory Pattern Pin
led mike28-Mar-07 5:54
led mike28-Mar-07 5:54 
GeneralRe: Base Classes and Factory Pattern Pin
Brady Kelly28-Mar-07 6:10
Brady Kelly28-Mar-07 6:10 
QuestionGenerate C# code from UML class diagram Pin
aminowest27-Mar-07 5:07
aminowest27-Mar-07 5:07 
AnswerRe: Generate C# code from UML class diagram Pin
Fatbuddha 112-Jun-07 23:35
Fatbuddha 112-Jun-07 23:35 
QuestionTesting Tool Tutorial Pin
Tech_spidy25-Mar-07 19:49
Tech_spidy25-Mar-07 19:49 
AnswerRe: Testing Tool Tutorial Pin
Fatbuddha 112-Jun-07 23:33
Fatbuddha 112-Jun-07 23:33 
QuestionPopulate C1Report Control with VB.Net Pin
Motiur21-Mar-07 19:07
Motiur21-Mar-07 19:07 
AnswerRe: Populate C1Report Control with VB.Net Pin
Pete O'Hanlon26-Mar-07 2:05
mvePete O'Hanlon26-Mar-07 2:05 
Question[UI Design] presenting a filename to the user. Pin
Maximilien21-Mar-07 8:34
Maximilien21-Mar-07 8:34 
AnswerRe: [UI Design] presenting a filename to the user. Pin
Rob Graham21-Mar-07 9:33
Rob Graham21-Mar-07 9:33 
QuestionSHBrowseForFolder not working in wince 5.0(x86) processor Pin
joemittu19-Mar-07 1:44
joemittu19-Mar-07 1:44 
AnswerRe: SHBrowseForFolder not working in wince 5.0(x86) processor Pin
Pete O'Hanlon19-Mar-07 10:12
mvePete O'Hanlon19-Mar-07 10:12 
QuestionArchitectural question Pin
dmitryp11-Mar-07 9:54
dmitryp11-Mar-07 9:54 
GeneralRe: Architectural question Pin
Paul Conrad23-Dec-07 8:19
professionalPaul Conrad23-Dec-07 8:19 
Questionhi.. Pin
colinfurtado11-Mar-07 6:52
colinfurtado11-Mar-07 6:52 
AnswerRe: hi.. Pin
Dmitry Khudorozhkov12-Mar-07 5:47
Dmitry Khudorozhkov12-Mar-07 5:47 

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.