Solved

Software Design Questions

Posted on 2004-04-15
8
212 Views
Last Modified: 2013-12-04
Hi,

When wanting to design a component, what questions should you ask yourself?

Cheers
0
Comment
Question by:AntoFreeman
  • 4
  • 2
8 Comments
 
LVL 30

Expert Comment

by:Mayank S
ID: 10833599
It should be easily re-usable. Moreover, it should be easily-usable. It should provide an easy-to-understand API (names of methods, etc). It should be configurable (for example - if you want to switch loggin on/ off), extensible, etc etc etc etc. It should be well planned, well designed, should take care of exception handling 'coz there are many fool-users in this world, who are very skilled at scrweing things up ;-) It should have a nice hierarchy and levels of abstraction, and should have some available documentation, help, user-tips, FAQ, etc.
0
 

Expert Comment

by:Shinru
ID: 10836245
You would also want to ask yourself how exactly it will be used. List different scenarios that could happen. If it is going to offer a GUI, I usually like to draw up how exactly I want parts of it to look. If you're going to be writing it for other people (other than yourself) to use, think of what they plan to use it for, and like mayankeagle said, a nice list of exception handling, because people WILL find a way to screw something up and make you say "How did you manage that?". I'm not usually afraid to write down everything that may have some significance, but you want to have a lot of possibilities to give yourself when it comes to actual design time, and you'll end up going back and trimming off things here and there, and then adding on. Many times when jotting down different ways the component will be used, or different scenarios that may occur, you'll find that it can open up a whole new line of possibilities.
0
 
LVL 3

Expert Comment

by:Santino_k
ID: 10839583
Hi,

<in addition to what mayankeagle and Shinru have said >

if you refer to "Essential COM" book by Don Box or "Inside COM" of Microsoft publication... you will get a very broad and basic idea of what features make a good and efficient Component. [you can find this info in starting chapters itself ]
To this basic features you will be adding some of your component specific features.

Regards,
Santino
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 30

Expert Comment

by:Mayank S
ID: 10839672
Yup, but let's not assume that its a .NET or a COM component. Since nothing is mentioned, let's keep it outside Microsoft, etc. It could well be an Enterprise Java Bean (EJB).
0
 
LVL 3

Expert Comment

by:Santino_k
ID: 10857625
Ok mayankeagle.
You are right that it could be an EJB.
What i knew about COM i have specified... coz the question didnt specifically mean "NO COM".
Also the Books/Chapters i specified that may help AntoFreeman b'coz they are very general ones.

Have a nice day.

Regards,
Santino
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10857775
>> didnt specifically mean "NO COM".

It also didn't specify "NO EJB" either ;-)

>> Have a nice day.

:-) same to you.
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 125 total points
ID: 11041355
Please proceed with that recommendation.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
word0 challenge 3 78
word0 challenge 4 64
advertisement module in core php 4 144
Image decoding from Camera 3 72
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

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

20 Experts available now in Live!

Get 1:1 Help Now