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

Design and Architecture

 
GeneralRe: Architecture for implementing locking Pin
Simon P Stevens16-Nov-07 3:28
Simon P Stevens16-Nov-07 3:28 
GeneralRe: Architecture for implementing locking Pin
cmf-DBA16-Nov-07 9:24
cmf-DBA16-Nov-07 9:24 
GeneralRe: Architecture for implementing locking Pin
Simon P Stevens19-Nov-07 10:21
Simon P Stevens19-Nov-07 10:21 
GeneralRe: Architecture for implementing locking Pin
cmf-DBA20-Nov-07 3:17
cmf-DBA20-Nov-07 3:17 
QuestionWrapping Composite Controls Pin
Tristan Rhodes14-Nov-07 3:12
Tristan Rhodes14-Nov-07 3:12 
AnswerRe: Wrapping Composite Controls Pin
led mike15-Nov-07 4:45
led mike15-Nov-07 4:45 
GeneralRe: Wrapping Composite Controls Pin
Tristan Rhodes15-Nov-07 22:44
Tristan Rhodes15-Nov-07 22:44 
GeneralRe: Wrapping Composite Controls Pin
led mike19-Nov-07 12:00
led mike19-Nov-07 12:00 
Tristan Rhodes wrote:
Or should the model be linked to the Observer, and that keep things synchronised with the views?

Do you know MVC? If not start with the Wikipedia page for it. In MVC, Views subscribe to notifications from the Model.
Tristan Rhodes wrote:
Additionaly, is it common practice to nest observers? i.e. Would you have an observer to keep three tree views and a tree model synchronised, then another observer to manage the Tree Model + the rest of the application?

Not sure what all that means, perhaps you are overusing "tree". There is no reason to be specific about User Interface Tree Control. Just generalize that to Views, period. What each view does to manage any controls it may own is it's business.

When the user interacts with the UI, the UI handler passes the message to the Controller in MVC. It is the Controller that coordinates that message into whatever system services pertain to that operation. Any one event may result in Model notification messages being sent. Using that design is how you might synchronize different views. Also other patterns can be used to implement synchronization like an extended Command Pattern to contain command state information.

Does that help?



GeneralRe: Wrapping Composite Controls Pin
Tristan Rhodes22-Nov-07 4:59
Tristan Rhodes22-Nov-07 4:59 
Question3D architecture Pin
rsaint2713-Nov-07 7:56
rsaint2713-Nov-07 7:56 
AnswerRe: 3D architecture Pin
Tristan Rhodes14-Nov-07 3:26
Tristan Rhodes14-Nov-07 3:26 
QuestionCalling UDDI services from DNA platform Pin
GuimaSun12-Nov-07 8:43
GuimaSun12-Nov-07 8:43 
Questioninstruction executed per second by a microprocessor Pin
akhshay gandhi12-Nov-07 7:11
akhshay gandhi12-Nov-07 7:11 
AnswerRe: instruction executed per second by a microprocessor Pin
Luc Pattyn12-Nov-07 7:40
sitebuilderLuc Pattyn12-Nov-07 7:40 
QuestionGood UML tool Pin
Oshtri Deka12-Nov-07 0:33
professionalOshtri Deka12-Nov-07 0:33 
AnswerRe: Good UML tool Pin
Tristan Rhodes14-Nov-07 3:21
Tristan Rhodes14-Nov-07 3:21 
GeneralRe: Good UML tool Pin
tnotstar31-Jan-08 9:08
tnotstar31-Jan-08 9:08 
QuestionScheduling Design Pin
yoavyoavyoav10-Nov-07 19:53
yoavyoavyoav10-Nov-07 19:53 
GeneralRe: Scheduling Design Pin
Paul Conrad27-Jan-08 7:12
professionalPaul Conrad27-Jan-08 7:12 
GeneralRe: Scheduling Design Pin
yoavyoavyoav27-Jan-08 7:20
yoavyoavyoav27-Jan-08 7:20 
GeneralRe: Scheduling Design Pin
Paul Conrad27-Jan-08 7:21
professionalPaul Conrad27-Jan-08 7:21 
QuestionI/O Port Pattern Pin
Ju@ncho7-Nov-07 8:04
Ju@ncho7-Nov-07 8:04 
AnswerRe: I/O Port Pattern Pin
led mike7-Nov-07 8:13
led mike7-Nov-07 8:13 
GeneralRe: I/O Port Pattern Pin
Ju@ncho8-Nov-07 1:53
Ju@ncho8-Nov-07 1:53 
GeneralRe: I/O Port Pattern Pin
led mike8-Nov-07 5:18
led mike8-Nov-07 5:18 

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.