Click here to Skip to main content
15,891,423 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Is this an existing pattern Pin
CodingYoshi15-Jul-09 17:27
CodingYoshi15-Jul-09 17:27 
GeneralRe: Is this an existing pattern Pin
sadavoya17-Jul-09 5:31
sadavoya17-Jul-09 5:31 
QuestionDTO design supporting multiple tables Pin
Leftyfarrell15-Jul-09 6:10
Leftyfarrell15-Jul-09 6:10 
AnswerRe: DTO design supporting multiple tables Pin
CodingYoshi15-Jul-09 17:33
CodingYoshi15-Jul-09 17:33 
QuestionRe: DTO design supporting multiple tables Pin
Leftyfarrell16-Jul-09 1:51
Leftyfarrell16-Jul-09 1:51 
AnswerRe: DTO design supporting multiple tables Pin
CodingYoshi16-Jul-09 3:24
CodingYoshi16-Jul-09 3:24 
GeneralRe: DTO design supporting multiple tables Pin
Leftyfarrell16-Jul-09 3:58
Leftyfarrell16-Jul-09 3:58 
GeneralRe: DTO design supporting multiple tables Pin
CodingYoshi16-Jul-09 8:05
CodingYoshi16-Jul-09 8:05 
Okay I know what you mean.

It all depends on the requirements. For example, let's say you are managing customers, their orders, and lineitems. Now the questions to ask are:

1. Within my problem domain, do I want to create LineItems or do I only select from LineItems and add to order? If you only select then LineItem will not have any CRUD operations except Retrieval.

2. What about Customers? Will I be adding new customers who have absolutely no orders into the system? Chances are yes, therefore, therefore their might be times you want to load a customer to edit their information. It does not make sense when you call Retrieve (R from CRUD) on customer to also load their orders, and all the line items for the order if all you need to do is change the customer's name from Bob to Rob. But if within your domain you never do any CRUD operations except Retrieve on   customers (customers are added using some other app), and the only time you retrieve them is to load their orders then it make sense to retrieve all orders and lineitems when a customer is loaded.

Where to draw the line? You choose by looking at the problem at hand.

CodingYoshi

Artificial Intelligence is no match for Human Stupidity.

GeneralRe: DTO design supporting multiple tables Pin
Leftyfarrell16-Jul-09 9:56
Leftyfarrell16-Jul-09 9:56 
GeneralRe: DTO design supporting multiple tables Pin
CodingYoshi16-Jul-09 17:13
CodingYoshi16-Jul-09 17:13 
QuestionOODB or RDB for checkbook/budget program? Pin
copec10-Jul-09 17:15
copec10-Jul-09 17:15 
AnswerRe: OODB or RDB for checkbook/budget program? Pin
riced11-Jul-09 10:06
riced11-Jul-09 10:06 
GeneralRe: OODB or RDB for checkbook/budget program? [modified] Pin
copec11-Jul-09 11:25
copec11-Jul-09 11:25 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced12-Jul-09 2:12
riced12-Jul-09 2:12 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec12-Jul-09 7:08
copec12-Jul-09 7:08 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced12-Jul-09 21:07
riced12-Jul-09 21:07 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec14-Jul-09 11:15
copec14-Jul-09 11:15 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced14-Jul-09 20:55
riced14-Jul-09 20:55 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec15-Jul-09 3:49
copec15-Jul-09 3:49 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced15-Jul-09 5:20
riced15-Jul-09 5:20 
GeneralRe: OODB or RDB for checkbook/budget program? [modified] Pin
copec15-Jul-09 8:11
copec15-Jul-09 8:11 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced15-Jul-09 22:28
riced15-Jul-09 22:28 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec16-Jul-09 3:51
copec16-Jul-09 3:51 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec16-Jul-09 15:14
copec16-Jul-09 15:14 
Questionneed help in architecting a design for a webapplication Pin
shankbond10-Jul-09 3:27
shankbond10-Jul-09 3:27 

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.