Solved

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

Posted on 2009-07-15
4
387 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
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now