Click here to Skip to main content
15,881,776 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: color mixing riddle Pin
Kobi_Z14-Jun-12 7:16
Kobi_Z14-Jun-12 7:16 
GeneralRe: color mixing riddle Pin
Richard MacCutchan14-Jun-12 7:30
mveRichard MacCutchan14-Jun-12 7:30 
GeneralRe: color mixing riddle Pin
Kobi_Z14-Jun-12 8:07
Kobi_Z14-Jun-12 8:07 
GeneralRe: color mixing riddle Pin
Richard MacCutchan14-Jun-12 21:40
mveRichard MacCutchan14-Jun-12 21:40 
AnswerRe: color mixing riddle Pin
R. Giskard Reventlov14-Jun-12 9:46
R. Giskard Reventlov14-Jun-12 9:46 
QuestionGeneral App Design Questions Pin
Kevin Marois6-Jun-12 6:02
professionalKevin Marois6-Jun-12 6:02 
AnswerRe: General App Design Questions Pin
Eddy Vluggen6-Jun-12 7:04
professionalEddy Vluggen6-Jun-12 7:04 
AnswerRe: General App Design Questions Pin
jschell6-Jun-12 9:27
jschell6-Jun-12 9:27 
Kevin Marois wrote:
Would you have your entity objects maintain references to other entities, or
just the PK?


Depends on the nature of the objects and how they are used in the rest of the code.

Kevin Marois wrote:
The
problem is that now you have a heavy object when you may not always need
the child objects.


Yes that is the problem.

First however it must in fact be 'heavy' in terms of the production system.
So 10 rows isn't 'heavy' but one million certainly is. And if a sub entity represents 100 meg of data then even 10 of them is too many. But for the one million case it would always need to do a deferred look up.

For larger ranges with more moderately sized (much smaller sub entities) it depends on actual data and how it will be used.


Kevin Marois wrote:
When you create an instance of the ProjectEntity, would you create a
ClientEntity and store it
on the ProjectEntity instance? If so, do you then
go up the logical tree and create a CompanyEntity to store
on the
ClientEntity which is stored on the ProjectEntity?


That question doesn't make much sense to me. A 'company' seems likes an owner. You can't create an owned object until you create the owner. And you shouldn't even allow for that possibility. Thus in the GUI the user must select a 'company' before doing anything with a owned object.

Kevin Marois wrote:
3) How do you handle nulls, both in the DB and in the app


I handle them as nulls. Presumably for the "app" you mean in the data object. If you mean system wide then the question is wrong because they way a business object deals with nulls is different than how the GUI deals with them.
QuestionApplication Security Pin
Kevin Marois6-Jun-12 5:56
professionalKevin Marois6-Jun-12 5:56 
AnswerRe: Application Security Pin
Eddy Vluggen6-Jun-12 7:08
professionalEddy Vluggen6-Jun-12 7:08 
QuestionEncoding and decoding a text file Pin
Basavaraj Neelagund1-Jun-12 3:54
Basavaraj Neelagund1-Jun-12 3:54 
AnswerRe: Encoding and decoding a text file Pin
Richard MacCutchan1-Jun-12 6:26
mveRichard MacCutchan1-Jun-12 6:26 
AnswerRe: Encoding and decoding a text file Pin
jschell4-Jun-12 8:17
jschell4-Jun-12 8:17 
AnswerRe: Encoding and decoding a text file Pin
Albert Holguin4-Jun-12 8:39
professionalAlbert Holguin4-Jun-12 8:39 
AnswerRe: Encoding and decoding a text file Pin
R. Giskard Reventlov4-Jun-12 8:44
R. Giskard Reventlov4-Jun-12 8:44 
AnswerRe: Encoding and decoding a text file Pin
wizardzz5-Jun-12 7:30
wizardzz5-Jun-12 7:30 
GeneralRe: Encoding and decoding a text file Pin
Albert Holguin5-Jun-12 7:37
professionalAlbert Holguin5-Jun-12 7:37 
GeneralRe: Encoding and decoding a text file Pin
wizardzz5-Jun-12 7:39
wizardzz5-Jun-12 7:39 
GeneralRe: Encoding and decoding a text file Pin
Albert Holguin5-Jun-12 7:44
professionalAlbert Holguin5-Jun-12 7:44 
GeneralRe: Encoding and decoding a text file Pin
wizardzz5-Jun-12 7:44
wizardzz5-Jun-12 7:44 
QuestionWCF service based application design Pin
dan!sh 27-May-12 6:21
professional dan!sh 27-May-12 6:21 
AnswerRe: WCF service based application design Pin
Ed K6-Jun-12 3:47
Ed K6-Jun-12 3:47 
Question[algo] Algo for naming of duplicate/clone "objects" ? Pin
Maximilien25-May-12 9:19
Maximilien25-May-12 9:19 
AnswerRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
GFRANTA25-May-12 11:22
GFRANTA25-May-12 11:22 
QuestionRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
Maximilien25-May-12 12:34
Maximilien25-May-12 12:34 

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.