Solved

Theoretical Question: Which is the better interface - MDI or SDI?

Posted on 2009-07-15
4
393 Views
Last Modified: 2013-12-17
I am about to embark on a software project that involves Windows Forms. I have approximately 10 forms that will maintain the data and another that will allow for reporting. I have a relatively novice set of users in this department.
Which would be the better path to travel given the number of forms and the skill level of the user base?
0
Comment
Question by:Euless_Tech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Expert Comment

by:j_s_kelley
ID: 24863518
I am not sure I understand your question.  Do you have several paths to choose from?  What are the options?  The way the question is phrased, it is very broad in scope.  What do you mean by the "best" path?  People write books on the best way to write applications.  Thanks.
0
 
LVL 8

Assisted Solution

by:RyanAndres
RyanAndres earned 50 total points
ID: 24863557
Personally I would go with MDI for a couple of reasons:

1) It makes it easier for the user to switch between windows
2) Allows all forms to communicate with each other / share data

Make sure your novice users try to avoid coupling the forms. By decoupling each form it provides better maintainability. Ie, In a managed code environment developers can work on each form without affecting the others.
0
 
LVL 4

Accepted Solution

by:
j_s_kelley earned 75 total points
ID: 24863584
Sorry, didn't read the original question to begin with.  My fault.  :(  To choose between MDI and SDI really depends on the nature of the application.  I have seen both used well and both done completely wrong.  I like MDI if truly, each child represents a "document" in some way.  With beginners, modal dialogs work fine because it makes them finish their thought before moving on.  Modal dialogs (SDI) is easier to control what happens when.  With MDI, if there is ANY interrelation between the documents, you can get yourself into a coordination nightmare (i.e. update one screen which might cause another to be invalid.)  As for user level, there are many very common applications that use MDI, for example, the suite of Office products are mostly MDI.  I don't think that will throw anyone.  Just make sure that the model fits the nature of the application.
0
 

Author Closing Comment

by:Euless_Tech
ID: 31603960
Thanks for the input. Being a somewhat beginner to intermediate developer in C#, I will probably go with SDI since it's easier to control.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article discusses the Chain of Responsibility pattern, explaining What it is;Why it is; andHow it is At the end of this article, I hope you will be able to describe the use and benefits of Chain of Responsibility.  Backgrou…
The Fluent Interface Design Pattern You can use the Fluent Interface (http://en.wikipedia.org/wiki/Fluent_interface) design pattern to make your PHP code easier to read and maintain.  "Fluent Interface" is an object-oriented design pattern that r…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question