Click here to Skip to main content
15,896,606 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralEliminate coupling to concrete class assembly by (Dependency Injection) Spring.NET Pin
Fakher Halim17-Jul-08 6:38
Fakher Halim17-Jul-08 6:38 
GeneralRe: Eliminate coupling to concrete class assembly by (Dependency Injection) Spring.NET Pin
Pete O'Hanlon17-Jul-08 8:51
mvePete O'Hanlon17-Jul-08 8:51 
GeneralRe: Eliminate coupling to concrete class assembly by (Dependency Injection) Spring.NET [modified] Pin
Fakher Halim17-Jul-08 9:38
Fakher Halim17-Jul-08 9:38 
GeneralRe: Eliminate coupling to concrete class assembly by (Dependency Injection) Spring.NET Pin
Pete O'Hanlon17-Jul-08 9:57
mvePete O'Hanlon17-Jul-08 9:57 
GeneralRe: Eliminate coupling to concrete class assembly by (Dependency Injection) Spring.NET Pin
Fakher Halim17-Jul-08 10:01
Fakher Halim17-Jul-08 10:01 
GeneralRe: A matter of coupling Pin
led mike15-Jul-08 11:35
led mike15-Jul-08 11:35 
GeneralRe: A matter of coupling Pin
Pete O'Hanlon15-Jul-08 22:30
mvePete O'Hanlon15-Jul-08 22:30 
QuestionDesgin pattern... Pin
1.21 Gigawatts12-Jul-08 0:36
1.21 Gigawatts12-Jul-08 0:36 
Good morning!!

What's the design pattern whereby you have to go through a certain class to get an instance of another?

E.G,
I have a class called Devices, and classes Valve, PID, ControlVlv and Pump.
I don't want to be able to instantiate Valve, Pump etc without going through Devices (which will return a collection of said classes).

But I want to be able to use said classes throughout the app.

Does that make sense?

I'm sure I've done it before....

Thanks,
Big Grin | :-D
AnswerRe: Desgin pattern... Pin
Luc Pattyn12-Jul-08 1:06
sitebuilderLuc Pattyn12-Jul-08 1:06 
GeneralRe: Desgin pattern... Pin
1.21 Gigawatts12-Jul-08 1:21
1.21 Gigawatts12-Jul-08 1:21 
GeneralRe: Desgin pattern... Pin
Pete O'Hanlon12-Jul-08 8:47
mvePete O'Hanlon12-Jul-08 8:47 
GeneralRe: Desgin pattern... Pin
Luc Pattyn12-Jul-08 9:02
sitebuilderLuc Pattyn12-Jul-08 9:02 
GeneralRe: Desgin pattern... Pin
Pete O'Hanlon12-Jul-08 9:32
mvePete O'Hanlon12-Jul-08 9:32 
GeneralRe: Desgin pattern... Pin
led mike14-Jul-08 5:46
led mike14-Jul-08 5:46 
GeneralRe: Desgin pattern... Pin
dojohansen22-Jul-08 22:34
dojohansen22-Jul-08 22:34 
GeneralRe: Desgin pattern... Pin
Pete O'Hanlon22-Jul-08 22:39
mvePete O'Hanlon22-Jul-08 22:39 
GeneralRe: Desgin pattern... Pin
led mike14-Jul-08 5:45
led mike14-Jul-08 5:45 
GeneralRe: Desgin pattern... Pin
Pete O'Hanlon14-Jul-08 8:37
mvePete O'Hanlon14-Jul-08 8:37 
GeneralRe: Desgin pattern... Pin
led mike14-Jul-08 10:37
led mike14-Jul-08 10:37 
GeneralRe: Desgin pattern... Pin
Pete O'Hanlon14-Jul-08 21:47
mvePete O'Hanlon14-Jul-08 21:47 
GeneralRe: Desgin pattern... Pin
led mike21-Jul-08 6:22
led mike21-Jul-08 6:22 
GeneralRe: Desgin pattern... Pin
Pete O'Hanlon21-Jul-08 6:30
mvePete O'Hanlon21-Jul-08 6:30 
GeneralRe: Desgin pattern... Pin
dojohansen22-Jul-08 22:36
dojohansen22-Jul-08 22:36 
QuestionLive dashboard Pin
Simon P Stevens8-Jul-08 5:25
Simon P Stevens8-Jul-08 5:25 
AnswerRe: Live dashboard Pin
Mark Churchill8-Jul-08 16:10
Mark Churchill8-Jul-08 16:10 

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.