Click here to Skip to main content
15,895,142 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Disaster Recovery for web services Pin
Duncan Edwards Jones26-Aug-14 23:16
professionalDuncan Edwards Jones26-Aug-14 23:16 
QuestionWhat is the goal of Entity Framework? Pin
Bastien Vandamme31-Jul-14 17:25
Bastien Vandamme31-Jul-14 17:25 
AnswerRe: What is the goal of Entity Framework? Pin
Pete O'Hanlon31-Jul-14 20:16
mvePete O'Hanlon31-Jul-14 20:16 
AnswerRe: What is the goal of Entity Framework? Pin
Rowdy Raider6-Aug-14 7:09
Rowdy Raider6-Aug-14 7:09 
AnswerRe: What is the goal of Entity Framework? PinPopular
Duncan Edwards Jones26-Aug-14 1:18
professionalDuncan Edwards Jones26-Aug-14 1:18 
GeneralRe: What is the goal of Entity Framework? Pin
Eddy Vluggen26-Aug-14 3:01
professionalEddy Vluggen26-Aug-14 3:01 
GeneralRe: What is the goal of Entity Framework? Pin
Duncan Edwards Jones26-Aug-14 3:06
professionalDuncan Edwards Jones26-Aug-14 3:06 
QuestionDirectory Monitor -> Launch a Script/Program Design Question? Pin
Kirk 1038982130-Jul-14 4:19
Kirk 1038982130-Jul-14 4:19 
Okay, I have a need for a pretty generic Directory Monitor utility.
It will run as a GUI and as a Service. The GUI is for configuring and testing.
The service will run on the active configured items (multiple).

I am stuck on a design implementation issue. It is NOT that important to me,
and that creates the problem. The usages of this "DirMon" are typically to
detect a file has been updated/saved, and to force it into source control.
Furthermore, we use a syntax that normally does not care about the individual
file, it handles the whole directory structure.

Think: Management Folders Sync'ed with other managers through version control.
Not developers.

I face 2 challenges. The first is that I want this to be "better" than that,
because I am so close to a VERY USEFUL end user type tool. The second is that
the process ReadDirectoryChanges() and GetQueuedCompletionStatus() have 3 issues.
1) When overwriting an existing file, I get 2 notifications for that file
2) They can (and will) become lossy if overwhelmed with changes, especially if I
cannot keep up with them.
3) I cannot have a new process start while an existing one is finishing

My quick hack was to simply add a timer in between the notification and me firing
the event. This is far less than a great idea.

After thinking about it, I realized this is a real problem. I am probably missing a
well accepted Design Pattern...

So, that is my question... How would you design this last piece, so that as the
various events fire, that I could keep track of various changes and make sure that
they were dealt with?

[I am willing to add a Flag for the user to choose if they NEED individual or summary
events, so I can know. If summary, I will use my current approach where I just keep
resetting the timer until things calm down. But if they need/want individual events,
what to do?]

Thanks in advance...
AnswerRe: Directory Monitor -> Launch a Script/Program Design Question? Pin
Bernhard Hiller30-Jul-14 20:47
Bernhard Hiller30-Jul-14 20:47 
GeneralRe: Directory Monitor -> Launch a Script/Program Design Question? Pin
Kirk 1038982131-Jul-14 6:59
Kirk 1038982131-Jul-14 6:59 
AnswerRe: Directory Monitor -> Launch a Script/Program Design Question? Pin
Richard Andrew x6431-Jul-14 8:47
professionalRichard Andrew x6431-Jul-14 8:47 
AnswerRe: Directory Monitor -> Launch a Script/Program Design Question? Pin
jschell31-Jul-14 9:40
jschell31-Jul-14 9:40 
Questionwhat is actual in business layer ? Pin
Dj@y29-Jul-14 20:58
professionalDj@y29-Jul-14 20:58 
AnswerRe: what is actual in business layer ? Pin
Eddy Vluggen29-Jul-14 21:31
professionalEddy Vluggen29-Jul-14 21:31 
AnswerRe: what is actual in business layer ? Pin
Ganesh KP13-Aug-14 21:49
professionalGanesh KP13-Aug-14 21:49 
GeneralRe: what is actual in business layer ? Pin
Dj@y21-Aug-14 22:59
professionalDj@y21-Aug-14 22:59 
GeneralRe: what is actual in business layer ? Pin
Ganesh KP30-Aug-14 23:42
professionalGanesh KP30-Aug-14 23:42 
AnswerRe: what is actual in business layer ? Pin
Dominic Burford17-Sep-14 20:33
professionalDominic Burford17-Sep-14 20:33 
QuestionVintage Processor TMS1000 Texas Instruments 1970-80s Pin
slswcharlie29-Jul-14 11:15
slswcharlie29-Jul-14 11:15 
GeneralRe: Vintage Processor TMS1000 Texas Instruments 1970-80s Pin
PIEBALDconsult29-Jul-14 11:32
mvePIEBALDconsult29-Jul-14 11:32 
Questionwhat is ASTA VoIP for SIP? and why it is used? Pin
Dj@y29-Jul-14 2:18
professionalDj@y29-Jul-14 2:18 
AnswerRe: what is ASTA VoIP for SIP? and why it is used? Pin
Eddy Vluggen29-Jul-14 3:09
professionalEddy Vluggen29-Jul-14 3:09 
GeneralRe: what is ASTA VoIP for SIP? and why it is used? Pin
Dj@y29-Jul-14 3:57
professionalDj@y29-Jul-14 3:57 
GeneralRe: what is ASTA VoIP for SIP? and why it is used? Pin
Eddy Vluggen29-Jul-14 4:33
professionalEddy Vluggen29-Jul-14 4:33 
QuestionArchitecture advice needed for upgrading a classic .ASP web app Pin
MHAM9920-Jul-14 15:15
professionalMHAM9920-Jul-14 15:15 

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.