Click here to Skip to main content
15,893,588 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Object level isolation than locking Pin
Sameerkumar Namdeo2-Mar-08 16:41
Sameerkumar Namdeo2-Mar-08 16:41 
GeneralRe: Object level isolation than locking Pin
Steven Campbell5-Mar-08 10:19
Steven Campbell5-Mar-08 10:19 
GeneralXML Model Structure Pin
Tristan Rhodes12-Feb-08 23:33
Tristan Rhodes12-Feb-08 23:33 
GeneralRe: XML Model Structure Pin
led mike13-Feb-08 7:19
led mike13-Feb-08 7:19 
GeneralRe: XML Model Structure Pin
Tristan Rhodes13-Feb-08 23:29
Tristan Rhodes13-Feb-08 23:29 
GeneralRe: XML Model Structure Pin
led mike14-Feb-08 8:37
led mike14-Feb-08 8:37 
GeneralRe: XML Model Structure [modified] Pin
Tristan Rhodes14-Feb-08 22:24
Tristan Rhodes14-Feb-08 22:24 
GeneralRe: XML Model Structure Pin
Tristan Rhodes18-Feb-08 0:17
Tristan Rhodes18-Feb-08 0:17 
Hi Mike,

I don't think DataSets are appropriate to this problem. But i'm not sure what is. I've never encountered anything like this before so my approach may be wrong. I'll try to describe the application and my approach.

1) There is a hierachy of configurations, where a configuration represents a setup for physical goods. The hierachy represents their association.

2) Each configuration contains a block (Tree) of layout data for a visual designer, a block of Aggregates, and a number of other blocks representing various tertiary data tied to the configuration.

3) A number of different controls are bound to the blocks of data for a selected configuration, as well as a number of controls being bound to the hierachy of configuration (From point 1).

4) I am attempting to implement an MVC pattern, where the model would be the XML DOM, the view would be the various controls that are bound to the model, and the controller is the host form (for now) that handles events submitted from the various controls.

5) When the model is changed, i would like to update the views with the changes made. (This is my primary problem). I do not want to re-query the model completely and re-draw the UI when a block is changed, i am only interested in the actual changes made.

6) I require Undo / Redo functionality (Simple enough with an XML Document)

7) Not all displayed data is stored in the model. When the model changes an alternative data source is queried to load Images, Layout data and other values.

It makes me really appreciate how easy web development is when you just re-poll the model and draw a new page / widget.


If you could point me in the right direction with regards to an approach to this problem, it would be greatly appreciated. Alternatively design patterns that are relevant or strategies for solving any of the above issues individually would be just as good.

Cheers

Tris

-------------------------------

Carrier Bags - 21st Century Tumbleweed.

GeneralRe: XML Model Structure Pin
led mike19-Feb-08 9:53
led mike19-Feb-08 9:53 
GeneralRe: XML Model Structure Pin
Tristan Rhodes26-Feb-08 5:05
Tristan Rhodes26-Feb-08 5:05 
GeneralRe: XML Model Structure Pin
led mike26-Feb-08 5:50
led mike26-Feb-08 5:50 
GeneralRe: XML Model Structure Pin
Tristan Rhodes26-Feb-08 6:16
Tristan Rhodes26-Feb-08 6:16 
GeneralRe: XML Model Structure Pin
Pete O'Hanlon26-Feb-08 10:14
mvePete O'Hanlon26-Feb-08 10:14 
GeneralRe: XML Model Structure Pin
Tristan Rhodes26-Feb-08 22:27
Tristan Rhodes26-Feb-08 22:27 
GeneralRe: XML Model Structure Pin
Pete O'Hanlon26-Feb-08 22:30
mvePete O'Hanlon26-Feb-08 22:30 
GeneralRe: XML Model Structure Pin
Tristan Rhodes26-Feb-08 23:50
Tristan Rhodes26-Feb-08 23:50 
GeneralRe: XML Model Structure Pin
Pete O'Hanlon27-Feb-08 0:27
mvePete O'Hanlon27-Feb-08 0:27 
GeneralRe: XML Model Structure Pin
Tristan Rhodes27-Feb-08 0:43
Tristan Rhodes27-Feb-08 0:43 
GeneralRe: XML Model Structure Pin
Pete O'Hanlon27-Feb-08 0:51
mvePete O'Hanlon27-Feb-08 0:51 
GeneralRe: XML Model Structure Pin
led mike2-Mar-08 14:44
led mike2-Mar-08 14:44 
GeneralRe: XML Model Structure Pin
Tristan Rhodes3-Mar-08 2:00
Tristan Rhodes3-Mar-08 2:00 
GeneralRe: XML Model Structure Pin
Pete O'Hanlon3-Mar-08 3:20
mvePete O'Hanlon3-Mar-08 3:20 
GeneralRe: XML Model Structure [modified] Pin
led mike3-Mar-08 7:02
led mike3-Mar-08 7:02 
GeneralRe: XML Model Structure Pin
Pete O'Hanlon3-Mar-08 9:44
mvePete O'Hanlon3-Mar-08 9:44 
Generaluml diagrams Pin
M.Bhargavi5-Feb-08 5:50
M.Bhargavi5-Feb-08 5:50 

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.