Click here to Skip to main content
15,889,335 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
Questionwhich is the best design or architecture for developing small windows apps using c#? Pin
jarajeshwaran9-Sep-09 8:01
jarajeshwaran9-Sep-09 8:01 
AnswerRe: which is the best design or architecture for developing small windows apps using c#? Pin
Richard MacCutchan13-Sep-09 1:51
mveRichard MacCutchan13-Sep-09 1:51 
AnswerRe: which is the best design or architecture for developing small windows apps using c#? [modified] Pin
Eddy Vluggen13-Sep-09 3:01
professionalEddy Vluggen13-Sep-09 3:01 
Questioncode required Pin
vishwjeet7-Sep-09 10:08
vishwjeet7-Sep-09 10:08 
AnswerRe: code required Pin
Luc Pattyn7-Sep-09 10:44
sitebuilderLuc Pattyn7-Sep-09 10:44 
AnswerRe: code required Pin
Pete O'Hanlon7-Sep-09 11:20
mvePete O'Hanlon7-Sep-09 11:20 
QuestionHow to structure your entities Pin
Mycroft Holmes6-Sep-09 16:27
professionalMycroft Holmes6-Sep-09 16:27 
AnswerRe: How to structure your entities Pin
David Skelly8-Sep-09 2:42
David Skelly8-Sep-09 2:42 
I used to take the approach that an object should know how to persist itself, but now I always split the database access out into a separate object from the domain class as it seems to me to be a reasonable separation of concerns. One object knows about business logic, runtime behaviour, validation rules, etc. but does not know anything about persistence. Another object knows how to save and load to and from the persistence store, but does not know (or care) what the target classes are used for. I find this easier to work with, and it makes it easier to separate business logic and persistence logic for unit testing (if you are into that sort of thing).

Martin Fowler covered this in his Patterns of Enterprise Architecture book, where he calls it the Table Gateway pattern. Java people call it the DAO pattern, although that term has different connotations for .NET.
GeneralRe: How to structure your entities Pin
Mycroft Holmes8-Sep-09 14:09
professionalMycroft Holmes8-Sep-09 14:09 
QuestionDynamic Report Generator Framework Design using XML and C# Pin
RK KL5-Sep-09 13:49
RK KL5-Sep-09 13:49 
QuestionDifferent UML Diagrams for Web Based "Recruitment Management System" Pin
Amir irfani29-Aug-09 1:08
Amir irfani29-Aug-09 1:08 
AnswerRe: Different UML Diagrams for Web Based "Recruitment Management System" Pin
Henry Minute5-Sep-09 14:17
Henry Minute5-Sep-09 14:17 
QuestionRe: Different UML Diagrams for Web Based "Recruitment Management System" Pin
Eddy Vluggen5-Sep-09 23:51
professionalEddy Vluggen5-Sep-09 23:51 
AnswerRe: Different UML Diagrams for Web Based "Recruitment Management System" Pin
Richard MacCutchan8-Sep-09 1:42
mveRichard MacCutchan8-Sep-09 1:42 
QuestionSuggest a desing Pin
ME_Learner27-Aug-09 20:23
ME_Learner27-Aug-09 20:23 
Answercross-post Pin
Luc Pattyn28-Aug-09 1:08
sitebuilderLuc Pattyn28-Aug-09 1:08 
QuestionDesign pattern suggestion Pin
majee26-Aug-09 0:54
majee26-Aug-09 0:54 
AnswerRe: Design pattern suggestion Pin
Eddy Vluggen26-Aug-09 9:24
professionalEddy Vluggen26-Aug-09 9:24 
GeneralRe: Design pattern suggestion Pin
majee26-Aug-09 23:57
majee26-Aug-09 23:57 
QuestionHow to Desing an Extensibile Application Pin
Sling Blade 2225-Aug-09 15:05
professionalSling Blade 2225-Aug-09 15:05 
AnswerRe: How to Desing an Extensibile Application Pin
Eddy Vluggen26-Aug-09 9:44
professionalEddy Vluggen26-Aug-09 9:44 
GeneralGeneric Report Filter Screen Pin
Brady Kelly25-Aug-09 9:41
Brady Kelly25-Aug-09 9:41 
GeneralRe: Generic Report Filter Screen Pin
Mycroft Holmes6-Sep-09 16:36
professionalMycroft Holmes6-Sep-09 16:36 
QuestionUML dependency and association Pin
pierpaolo paparo24-Aug-09 3:26
pierpaolo paparo24-Aug-09 3:26 
QuestionDesign auto-XLS editor? Pin
cdietschrun17-Aug-09 5:09
cdietschrun17-Aug-09 5:09 

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.