Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vtcoder

Pages: [1]
1
General Board / Re: Best diagram to model layered architecture
« on: January 16, 2008, 06:42:36 am »
Good suggestion. I will look into the collaboration diagram as an option.

I do see exactly what you mean with the concept of these 'component's being instances. I still disagree in this instances however. Perhaps I should have used a more viable examples than 'components'.

If you consider 2 logical layers, lets say business layer (BL) and data access layer (DAL), and you want to show the possible allowed interactions between these, including allowed 'self' interaction, then unless you make up arbitrary instances to represent multiple copies of the BL or DAL, then you need some way to be able to show these logical layers multiple times on the same diagram.

Now granted, if I have multiple DAL layers listed on a diagram, I can certainly see that this walking a fine line between instance and logical layer, so I don't fault your arguement. I guess I'm just convinced that there is a subtle difference here, primarily because I'm still showing logical layers. I.e., I am not showing an implementation of a DAL, I'm showing the logical concept of a DAL in order to document its allowed interactions with other layers, and even itself. Of course this will be realized with real DAL component implementations, and once we have an idea of a couple of actual applications we could created a diagram to depict the physical implementation plans of a given application. But, at this point, I would want to pull out the logical diagram and review the plan to make sure the implementation is within our planned architecture.

I guess another angle on this, if you're still not buying into my logical vs instance arguement, is that it is a matter of practicality. If I am creating models during the logical architectual planning, and I have no real instances/components, I should be able to list my logical items multiple times to show interaction at this level. Even if I have a couple of applications that have components I could use to model this, it doesn't make sense, because the interactions I'm modeling are global to all possible applications, and it wouldn't make sense to try to use any one implementation to capture that. So I'm left with the option of creating arbitrary, fake instances, which clutter up my model, and are impossible to maintain (because they are all, for example, DAL, DAL, DAL, DAL, BL, BL, BL, BL, not App1BL, App2BL, App1DAL, App2DAL.

Having said all of that, I will look into the collaboration diagram. Perhaps this is what I need. Also, I would like to be clear that I'm not trying to say that your arguement is invalid. It may be dead on for the diagrams we're talking about, and perhaps I have not found the correct diagram I need to capture this type of information yet. I hope this is the case. If it is not, then I really hope EA considers this as an option (not a primary work flow, but at least an option). Or I'm going to have to look into other products because I have to do a lot of this and it is just not practical using EA given my current understanding of the product and diagrams. So I do hope I find a diagram that meets the need.

Thanks

2
General Board / Re: Best diagram to model layered architecture
« on: January 15, 2008, 10:47:26 am »
No, I think I'm clear on that.

I don't want to show multiple instances - I want to show the logical concept in multiple arrangements. Simple as that. These are not instances, it is not physical or implementation. It is still logical concepts.

I still think it makes sense to allow multiple copies for this.

Don't mean to be argumentative. I appreaciate your perspectives. Thanks.

3
General Board / Re: Best diagram to model layered architecture
« on: January 15, 2008, 09:10:48 am »
I agree, in most cases having concise diagrams with links is optimal. But, with regard to the clutter issue, if I have a large class diagram that I need to present in one view (diagram) and I have two classes that need to be on opposite corners of the diagram, and they both inherit from the same base class, I would like to have 2 instances of that base class, one on each corner, instead of trying to rearrange stuff to allow them both to point to the same base class copy without 'cluttering' up the diagram (or at least having to reshuffle everything to avoid ugly overlap.

I think both arguements for supporting multiple copies are valid, although I admit they probably do not fall into the primary use case for the diagrams, they are still valid alternatives.

Thanks for the input

4
General Board / Re: Best diagram to model layered architecture
« on: January 15, 2008, 08:30:25 am »
I was unable to get this to work in EA 7.0

I get a message saying this item already exists and multiple copies are not currently supported. This is the case for package, object, class, etc.

For component, it does prompt me, but it will not allow the simple link, it gives the same message above. The only option that works is the instance, which creates many instances in my model elements, which is basically the solution I have now.

Thanks for the suggestion, but it doesn't look like it works in this case.

I certainly may be missing something. Perhaps you can do this linking with some other type of element, or in some other diagram type. If so, let me know.

5
General Board / Re: Best diagram to model layered architecture
« on: January 15, 2008, 07:15:33 am »
That approach could certainly work for some scenarios. But not for this particular scenario. Allow me to elaborate a bit.

Lets say I have logical 'components' A, B, and C. Then lets say I need to show how 2 different applications are built from A, B, and C, and futher, how the components from each applicaiton interact with each other.

In this situation, if the sets of components are not on the same diagram, showing their allowed and disallowed interactions, then it wouldn't be of much use, in this context.

I really think EA should have the option to list multiple instances of things for this reason, and for avoiding clutter in some situations.

Thanks for the suggestions though. Hopefully a future release may allow this.

6
General Board / Re: Best diagram to model layered architecture
« on: January 14, 2008, 12:52:08 pm »
Well, I have found a workaround, but it is ugly. I had to create like 50+ object instances to show my set of ~10 items multiple times on the same dialog.

There really is no maintainability to this approach, it was really done just to be able to produce the diagram.

This seems to be a serious limitation in EA, to me at least. There are many places where you may want to list the same item mutlple times (in a component fashion like I have here, or in order to better organize a document, etc.).

I wonder if there is any hope of removing this limitation in the future?

Thanks

7
General Board / Re: Best diagram to model layered architecture
« on: January 14, 2008, 10:11:41 am »
I still couldn't have multiple copies of any element.

What diagram can I use to list multiple copies of some type of element?

Thanks

8
General Board / Best diagram to model layered architecture
« on: January 14, 2008, 09:29:44 am »
What would be the best diagram and approach if I want to model a layered architecture and show multiple applications using the layers, so that the layers would have to be listed multiple times.

I tried to do this with a component diagram, and I modeled each layer as a package, but I could not have multiple instances of the package (nor any other type I could find).

Is there a better diagram where I can list components multiple times?

Thanks

Pages: [1]