Advertisement

06.24.2008 at 02:46PM PDT, ID: 23512770
[x]
Attachment Details

Inheritance

Asked by elimesika in Visual Studio 2008, Miscellaneous Programming, .NET Framework 3.x versions

Tags: design patterns, design, c#, architecture, .NET, VS 2008

HI Experts

We have a .NET application (VS 2008) that uses the Factory and Command Patterns to generate & invoke commands. Commands are logged, may have or not have timer support and are classified to categories which are also hierarchical (i.e. in category A you have commannd A1 and command A11 that is inherited from command A1 and so on...)

The difficulty with this is debug, since there are about 7 levels in the hierarchy , it takes time to navigate   and find the problem origin.

Questions :

1) When I did OO courses, I remember that they strongly recommended not to pass the 3 object hierarchy depth , is that true?

2) What design alternatives can you recommend in order to make our commands hierarchy shorter ?

ThanksStart Free Trial
Attachments:
 
Class diagram : Please use Zoom in order to see the details
Class diagram : Please use Zoom in order to see the details
 
[+][-]06.25.2008 at 08:27AM PDT, ID: 21866714

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 12:07PM PDT, ID: 21868871

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 02:00PM PDT, ID: 21869841

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio 2008, Miscellaneous Programming, .NET Framework 3.x versions
Tags: design patterns, design, c#, architecture, .NET, VS 2008
Sign Up Now!
Solution Provided By: mastoo
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906