Click here to Skip to main content
15,899,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual Studio 2005 not hitting breakpoints. Pin
Like2Byte8-Dec-09 10:53
Like2Byte8-Dec-09 10:53 
GeneralRe: Visual Studio 2005 not hitting breakpoints. Pin
Richard MacCutchan8-Dec-09 11:01
mveRichard MacCutchan8-Dec-09 11:01 
GeneralRe: Visual Studio 2005 not hitting breakpoints. Pin
Like2Byte8-Dec-09 11:08
Like2Byte8-Dec-09 11:08 
QuestionAnnoying problem with VISTA and Win7 and above? Pin
Kushagra Tiwari8-Dec-09 8:38
Kushagra Tiwari8-Dec-09 8:38 
AnswerRe: Annoying problem with VISTA and Win7 and above? Pin
Richard MacCutchan8-Dec-09 9:57
mveRichard MacCutchan8-Dec-09 9:57 
AnswerRe: Annoying problem with VISTA and Win7 and above? Pin
Rolf Kristensen10-Dec-09 11:23
Rolf Kristensen10-Dec-09 11:23 
QuestionSeparating business and presentation logic in different threads Pin
crewchill8-Dec-09 7:42
crewchill8-Dec-09 7:42 
AnswerRe: Separating business and presentation logic in different threads [modified] Pin
Rolf Kristensen10-Dec-09 11:35
Rolf Kristensen10-Dec-09 11:35 
The are two principles mixed together here:
1) Splitting business logic and GUI logic - This is good as it allows one to write unit-tests that can test the business-logic without needing to test using the GUI.
2) Using worker-threads to perform long running operations - This gives a good GUI experience, as the GUI remains responsive even when doing heavy processing.

Multi-threaded programming increases the complexity of the code. So it should only be introduced where it actually provides a performance boost.

I have no problem in understanding why your new developer wants to make synchronous requests as it is so much simpler.

I have no clue about your customer base, or the type of application you are building. But the tendency is that we work towards client/server based applications, where the client is launched through a web-browser (ASP.NET / Silverlight) and the Server is available from the Internet (Easy deployment, Centralized hosting and backup). In this scenario then the splitting of GUI and business logic should come natural.

modified on Monday, December 14, 2009 5:09 PM

QuestionWhat Will Happen? Two Projects Merging together that both access a DLL Pin
Greg Mort8-Dec-09 5:44
Greg Mort8-Dec-09 5:44 
AnswerRe: What Will Happen? Two Projects Merging together that both access a DLL Pin
PJ Arends8-Dec-09 7:24
professionalPJ Arends8-Dec-09 7:24 
Questionprogram too big to fit in memory ??? Pin
a04.lqd8-Dec-09 5:01
a04.lqd8-Dec-09 5:01 
AnswerRe: program too big to fit in memory ??? Pin
Chris Losinger8-Dec-09 5:11
professionalChris Losinger8-Dec-09 5:11 
QuestionRe: program too big to fit in memory ??? Pin
David Crow8-Dec-09 5:58
David Crow8-Dec-09 5:58 
AnswerRe: program too big to fit in memory ??? Pin
a04.lqd8-Dec-09 13:18
a04.lqd8-Dec-09 13:18 
AnswerRe: program too big to fit in memory ??? Pin
PCuong19838-Dec-09 14:39
professionalPCuong19838-Dec-09 14:39 
GeneralRe: program too big to fit in memory ??? Pin
a04.lqd8-Dec-09 15:09
a04.lqd8-Dec-09 15:09 
Questionwhat are these error ? Pin
a04.lqd8-Dec-09 4:18
a04.lqd8-Dec-09 4:18 
AnswerRe: what are these error ? Pin
Rajesh R Subramanian8-Dec-09 4:21
professionalRajesh R Subramanian8-Dec-09 4:21 
AnswerRe: what are these error ? Pin
a04.lqd8-Dec-09 4:34
a04.lqd8-Dec-09 4:34 
GeneralRe: what are these error ? Pin
Maximilien8-Dec-09 4:37
Maximilien8-Dec-09 4:37 
AnswerRe: what are these error ? Pin
David Crow8-Dec-09 4:53
David Crow8-Dec-09 4:53 
QuestionProgram Data Limits Pin
Grahamfff8-Dec-09 4:05
Grahamfff8-Dec-09 4:05 
QuestionRe: Program Data Limits Pin
Rajesh R Subramanian8-Dec-09 4:18
professionalRajesh R Subramanian8-Dec-09 4:18 
AnswerRe: Program Data Limits Pin
Grahamfff8-Dec-09 4:35
Grahamfff8-Dec-09 4:35 
GeneralRe: Program Data Limits Pin
Rolf Kristensen10-Dec-09 11:38
Rolf Kristensen10-Dec-09 11:38 

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.