Click here to Skip to main content
15,888,984 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
Praisethanks Pin
D4rkTrick11-Feb-16 1:22
professionalD4rkTrick11-Feb-16 1:22 
GeneralHow to design the accessibility problem Pin
SSETH7-Feb-16 5:21
SSETH7-Feb-16 5:21 
SuggestionRe: How to design the accessibility problem Pin
Sascha Lefèvre7-Feb-16 5:44
professionalSascha Lefèvre7-Feb-16 5:44 
GeneralRe: How to design the accessibility problem Pin
SSETH7-Feb-16 7:29
SSETH7-Feb-16 7:29 
GeneralRe: How to design the accessibility problem Pin
Richard MacCutchan7-Feb-16 21:05
mveRichard MacCutchan7-Feb-16 21:05 
GeneralRe: How to design the accessibility problem Pin
SSETH7-Feb-16 22:00
SSETH7-Feb-16 22:00 
GeneralRe: How to design the accessibility problem Pin
Richard MacCutchan8-Feb-16 3:03
mveRichard MacCutchan8-Feb-16 3:03 
GeneralRe: How to design the accessibility problem Pin
jschell12-Feb-16 12:31
jschell12-Feb-16 12:31 
First off of course this is a made up problem that should never be implemented specifically in code. Parts, depending on what you mean, might be implemented in they system but not code specifically (design versus code.)

But approaching it code wise.

sseth21k wrote:
1. The third person should not be able to see the other details of the class!


The implementation via class A. You have an API class that returns a proxy B. The caller uses B. B internally is implemented such that A supplies all the behavior.

Specifically in C++ this means that A will NOT be in an include file. Rather it should be a source file. In ractical wise you would probably put in its own package with its own include file

Code wise you could tighten this even further by delivering a binary rather than source code. Then all they could see would be the Proxy.

sseth21k wrote:
the component should be accessible to only that particular third person!


There is a credential class. It has specific data that identifies the caller.

The API (above) is modified to take an instance of the credential class. The API checks the data to 'match' to the 'third person'. If it matches it returns the Proxy. If it doesn't match it returns null.
QuestionOpinions on dividing up a single entity framework layer in source control Pin
darkliahos4-Feb-16 5:18
darkliahos4-Feb-16 5:18 
AnswerRe: Opinions on dividing up a single entity framework layer in source control Pin
Gerry Schmitz4-Feb-16 7:25
mveGerry Schmitz4-Feb-16 7:25 
GeneralRe: Opinions on dividing up a single entity framework layer in source control Pin
darkliahos6-Feb-16 2:38
darkliahos6-Feb-16 2:38 
GeneralRe: Opinions on dividing up a single entity framework layer in source control Pin
Gerry Schmitz6-Feb-16 5:44
mveGerry Schmitz6-Feb-16 5:44 
AnswerRe: Opinions on dividing up a single entity framework layer in source control Pin
jschell6-Feb-16 13:29
jschell6-Feb-16 13:29 
QuestionFile Sharing App (DropBox) Propose Architecture Pin
zephaneas3-Feb-16 9:30
zephaneas3-Feb-16 9:30 
AnswerRe: File Sharing App (DropBox) Propose Architecture Pin
Gerry Schmitz4-Feb-16 7:48
mveGerry Schmitz4-Feb-16 7:48 
GeneralRe: File Sharing App (DropBox) Propose Architecture Pin
Kevin Marois4-Feb-16 8:41
professionalKevin Marois4-Feb-16 8:41 
GeneralRe: File Sharing App (DropBox) Propose Architecture Pin
Gerry Schmitz4-Feb-16 9:18
mveGerry Schmitz4-Feb-16 9:18 
GeneralRe: File Sharing App (DropBox) Propose Architecture Pin
Kevin Marois4-Feb-16 9:30
professionalKevin Marois4-Feb-16 9:30 
GeneralRe: File Sharing App (DropBox) Propose Architecture Pin
Gerry Schmitz4-Feb-16 9:36
mveGerry Schmitz4-Feb-16 9:36 
GeneralRe: File Sharing App (DropBox) Propose Architecture Pin
Kevin Marois4-Feb-16 9:41
professionalKevin Marois4-Feb-16 9:41 
QuestionDropBox Type Of App Pin
zephaneas2-Feb-16 10:30
zephaneas2-Feb-16 10:30 
AnswerRe: DropBox Type Of App Pin
Eddy Vluggen2-Feb-16 12:41
professionalEddy Vluggen2-Feb-16 12:41 
GeneralRe: DropBox Type Of App Pin
Kevin Marois3-Feb-16 7:57
professionalKevin Marois3-Feb-16 7:57 
GeneralRe: DropBox Type Of App Pin
Eddy Vluggen3-Feb-16 8:40
professionalEddy Vluggen3-Feb-16 8:40 
AnswerRe: DropBox Type Of App Pin
jschell2-Feb-16 13:30
jschell2-Feb-16 13:30 

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.