Click here to Skip to main content
16,004,505 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Hibernate-style coding? Pin
NandoMan19-Jul-09 7:03
NandoMan19-Jul-09 7:03 
GeneralRe: Hibernate-style coding? Pin
Curtis Schlak.21-Jul-09 16:17
Curtis Schlak.21-Jul-09 16:17 
QuestionCreating interface that can read network traffic Pin
that_dude_tj16-Jul-09 13:11
that_dude_tj16-Jul-09 13:11 
AnswerRe: Creating interface that can read network traffic Pin
CodingYoshi16-Jul-09 17:15
CodingYoshi16-Jul-09 17:15 
GeneralRe: Creating interface that can read network traffic Pin
that_dude_tj17-Jul-09 14:48
that_dude_tj17-Jul-09 14:48 
QuestionConsultant/Principal/Senior Software Engineer Pin
leowangrenbenmg15-Jul-09 23:24
leowangrenbenmg15-Jul-09 23:24 
AnswerRe: Consultant/Principal/Senior Software Engineer Pin
Pete O'Hanlon15-Jul-09 23:34
mvePete O'Hanlon15-Jul-09 23:34 
GeneralRe: Consultant/Principal/Senior Software Engineer Pin
Paul Conrad25-Jul-09 19:26
professionalPaul Conrad25-Jul-09 19:26 
GeneralRe: Consultant/Principal/Senior Software Engineer Pin
Pete O'Hanlon29-Jul-09 9:11
mvePete O'Hanlon29-Jul-09 9:11 
GeneralRe: Consultant/Principal/Senior Software Engineer Pin
Paul Conrad29-Jul-09 12:39
professionalPaul Conrad29-Jul-09 12:39 
AnswerRe: Consultant/Principal/Senior Software Engineer Pin
Eddy Vluggen16-Jul-09 2:27
professionalEddy Vluggen16-Jul-09 2:27 
QuestionIs this an existing pattern Pin
sadavoya15-Jul-09 7:30
sadavoya15-Jul-09 7:30 
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 

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.