Click here to Skip to main content
15,906,708 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
Question.net Serializable DTO Pin
mokrala12-Feb-09 6:14
mokrala12-Feb-09 6:14 
QuestionBuilding a relational graph from a large build enlistment Pin
Adam Dare9-Feb-09 18:01
Adam Dare9-Feb-09 18:01 
AnswerRe: Building a relational graph from a large build enlistment Pin
Jonathan Davies18-Feb-09 3:22
Jonathan Davies18-Feb-09 3:22 
GeneralRe: Building a relational graph from a large build enlistment Pin
Adam Dare18-Feb-09 4:44
Adam Dare18-Feb-09 4:44 
GeneralRe: Building a relational graph from a large build enlistment Pin
Jonathan Davies19-Feb-09 3:03
Jonathan Davies19-Feb-09 3:03 
QuestionHow to play an Animation and make video render before logon through credential provider ?(Vista) [modified] Pin
wyc_xiaoben4-Feb-09 15:07
wyc_xiaoben4-Feb-09 15:07 
QuestionWhat pattern should I use? Pin
nickiii3-Feb-09 5:17
nickiii3-Feb-09 5:17 
AnswerRe: What pattern should I use? Pin
Jon Rista3-Feb-09 10:55
Jon Rista3-Feb-09 10:55 
First suggestion is, don't be afraid of "duplication". For one, Input, Summary, and Detail views, while they may all work with the same data, have distinct purposes, and will have distinct functionality that drive them. While you could probably merge all that functionality into a single glob, from a maintainability perspective...isolation of purpose (called separation of concerns and single responsibility in architect-speak) can offer you a lot in terms of long-term maintainability.

My recommendation is this. Even if you need the Input, Summary, and Detail views to be represented as a single thing to the user...develop them as individual components that make use of a core, shared set of objects. Input should be a view component that encapsulates the logic required to display a form to the user and process that input. Summary should be a view component that takes the processed input and renders the summary. Detail should be a view component that takes the processed input and renders the full detailed report. Since each one is its own, isolated component, they can be maintained individually. That doesn't preclude them from being rendered into a larger composite view, so you still achieve what you want for the user (a single "page" from which a report can be queries, previewed, and rendered in full detail).

If there is some duplication of code between the three components...that is ok. If you can centralize any common logic into a helper class that can be shared accross all three, great. If the logic is similar, but can't really be normalized, thats ok too. The key thing is that Input, Summary, and Detail are independant components that can be maintained, updated, and modified (i.e. with new functionality) independant of each other, which will improve your long term maintenance and product flexibility. Regardless of up-front costs...long term maintenance is by far the greatest cost of any project.
GeneralRe: What pattern should I use? Pin
nickiii3-Feb-09 13:01
nickiii3-Feb-09 13:01 
Questionbus address converter Pin
aswd30-Jan-09 7:46
aswd30-Jan-09 7:46 
JokeRe: bus address converter Pin
Jon Rista3-Feb-09 10:56
Jon Rista3-Feb-09 10:56 
GeneralRe: bus address converter Pin
Luc Pattyn6-Feb-09 9:34
sitebuilderLuc Pattyn6-Feb-09 9:34 
GeneralRe: bus address converter Pin
aswd9-Feb-09 13:19
aswd9-Feb-09 13:19 
QuestionAdvices designing a document-centric application Pin
crs2129-Jan-09 9:18
crs2129-Jan-09 9:18 
AnswerRe: Advices designing a document-centric application Pin
Pete O'Hanlon30-Jan-09 1:05
mvePete O'Hanlon30-Jan-09 1:05 
GeneralRe: Advices designing a document-centric application Pin
crs2130-Jan-09 3:37
crs2130-Jan-09 3:37 
GeneralRe: Advices designing a document-centric application Pin
Pete O'Hanlon30-Jan-09 4:22
mvePete O'Hanlon30-Jan-09 4:22 
AnswerRe: Advices designing a document-centric application Pin
Jonathan Davies30-Jan-09 1:17
Jonathan Davies30-Jan-09 1:17 
QuestionHow to create DFD Pin
Member 467943628-Jan-09 23:18
Member 467943628-Jan-09 23:18 
AnswerRe: How to create DFD Pin
Pete O'Hanlon29-Jan-09 1:06
mvePete O'Hanlon29-Jan-09 1:06 
GeneralRe: How to create DFD Pin
led mike29-Jan-09 4:40
led mike29-Jan-09 4:40 
GeneralRe: How to create DFD Pin
Pete O'Hanlon29-Jan-09 8:29
mvePete O'Hanlon29-Jan-09 8:29 
GeneralRe: How to create DFD Pin
led mike29-Jan-09 9:20
led mike29-Jan-09 9:20 
QuestionAvoiding Circular References with Application Architecture Pin
Leftyfarrell20-Jan-09 11:46
Leftyfarrell20-Jan-09 11:46 
AnswerRe: Avoiding Circular References with Application Architecture Pin
led mike21-Jan-09 5:13
led mike21-Jan-09 5:13 

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.