Click here to Skip to main content
15,885,546 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: walk with open source software version Pin
Eddy Vluggen10-Apr-10 23:38
professionalEddy Vluggen10-Apr-10 23:38 
QuestionDesigning Dynamic Reports Pin
Richard Blythe9-Apr-10 6:33
Richard Blythe9-Apr-10 6:33 
AnswerRe: Designing Dynamic Reports Pin
Jonathan Davies10-Apr-10 2:01
Jonathan Davies10-Apr-10 2:01 
AnswerRe: Designing Dynamic Reports Pin
Mycroft Holmes11-Apr-10 0:39
professionalMycroft Holmes11-Apr-10 0:39 
QuestionBusiness Process /DFD Pin
εїзεїзεїз21-Mar-10 23:26
εїзεїзεїз21-Mar-10 23:26 
QuestionMVP/MVC/Decoupled architecture VS modern databound controls Pin
ruanr18-Mar-10 4:31
ruanr18-Mar-10 4:31 
JokeRe: MVP/MVC/Decoupled architecture VS modern databound controls Pin
Luc Pattyn18-Mar-10 5:44
sitebuilderLuc Pattyn18-Mar-10 5:44 
AnswerRe: MVP/MVC/Decoupled architecture VS modern databound controls Pin
Jonathan Davies19-Mar-10 2:41
Jonathan Davies19-Mar-10 2:41 
ruanr wrote:
should I be super-abstracting my data?

This is exactly what I recently found I needed to do using a MS TreeView and a STL-like Tree container.

I set out wanting a series of low level instructions to be sequentially sent to a cell of electro/mechanical devices including a robot arm and other automated bits of laboratory kit. But wanted to give the User control of this instruction sequence by presenting them with simple control buttons much like those of a Video or DVD player: Forward, Pause, Step and Stop. But critically I also wanted to be able to undo/redo the instructions and add Back and Step-Back to those options presented to the User.

I also wanted to be able to eventually throw away my development GUI and have someone then integrate what was left into a nice shiny Application GUI alongside all the other bells and whistles needed.

I found a tree view was the 'natural' way to display to the User and the MS TreeView Control did this, but it didn't do other things I wanted so found another STL type Tree container class that I could use to accomplish the other things.

ruanr wrote:
Design patterns always sound so good in theory

I based each instruction to a device on a combination of Design Patterns: Command and Do/Undo so that a Do-instruction could be loaded into a Leaf (of the STL-type tree) with a corresponding Undo-instruction. Of course I had to link the corresponding nodes on the View tree to the Container tree but this wasn't that difficult.

Though non-'super-abstraction' is tempting, separating the view from the the actual data like this I've found to be an essential development approach. From so many perspectives: Project-Management; Maintenance or Further-Development, separation like this turns one problem to two nicely defined smaller ones, reduces the overall complexity and makes the whole much cleaner, more likely to actually work and much more understandable to others.
AnswerRe: MVP/MVC/Decoupled architecture VS modern databound controls Pin
Eddy Vluggen27-Mar-10 22:16
professionalEddy Vluggen27-Mar-10 22:16 
AnswerRe: MVP/MVC/Decoupled architecture VS modern databound controls Pin
Abhinav S27-Mar-10 22:25
Abhinav S27-Mar-10 22:25 
AnswerRe: MVP/MVC/Decoupled architecture VS modern databound controls Pin
Mycroft Holmes11-Apr-10 0:52
professionalMycroft Holmes11-Apr-10 0:52 
QuestionDevelopment Magazines Pin
Dio2216-Mar-10 11:12
Dio2216-Mar-10 11:12 
AnswerRe: Development Magazines Pin
Kevin Marois20-Apr-10 7:29
professionalKevin Marois20-Apr-10 7:29 
QuestionLMS platform Pin
chiranjeevi110511-Mar-10 19:34
chiranjeevi110511-Mar-10 19:34 
AnswerRe: LMS platform PinPopular
R. Giskard Reventlov11-Mar-10 21:22
R. Giskard Reventlov11-Mar-10 21:22 
QuestionComposition/Aggregation law of demeter Pin
DiiJAY7-Mar-10 9:54
DiiJAY7-Mar-10 9:54 
GeneralRe: Composition/Aggregation law of demeter Pin
Graham Breach7-Mar-10 10:15
Graham Breach7-Mar-10 10:15 
AnswerRe: Composition/Aggregation law of demeter Pin
Luc Pattyn7-Mar-10 10:48
sitebuilderLuc Pattyn7-Mar-10 10:48 
GeneralRe: Composition/Aggregation law of demeter Pin
DiiJAY7-Mar-10 22:06
DiiJAY7-Mar-10 22:06 
GeneralRe: Composition/Aggregation law of demeter Pin
Graham Breach7-Mar-10 23:42
Graham Breach7-Mar-10 23:42 
GeneralRe: Composition/Aggregation law of demeter Pin
Jonathan Davies8-Mar-10 1:10
Jonathan Davies8-Mar-10 1:10 
AnswerRe: Composition/Aggregation law of demeter Pin
Pete O'Hanlon8-Mar-10 1:36
mvePete O'Hanlon8-Mar-10 1:36 
AnswerRe: Composition/Aggregation law of demeter Pin
DiiJAY8-Mar-10 6:08
DiiJAY8-Mar-10 6:08 
GeneralRe: Composition/Aggregation law of demeter Pin
Jonathan Davies8-Mar-10 6:26
Jonathan Davies8-Mar-10 6:26 
GeneralRe: Composition/Aggregation law of demeter Pin
DiiJAY8-Mar-10 6:47
DiiJAY8-Mar-10 6:47 

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.