The Unified Modeling Language is the industry standard for modeling software-intensive systems.

learn more… | top users | synonyms

3
votes
2answers
2k views

How to use BPMN and use case and other diagrams together

I asked this question on stackoverflow, but it seems this question is not suitable there, so I post here for discussion. BPMN (Business Process Modeling Notations) is used for modeling business ...
1
vote
1answer
141 views

what kind of relation will exist between a member and a P2P network classes in a class diagram?

I have a member class which stores the IP, and ports used on that member. Another class P2P stores a list of all the members currently in the network and provides join,leave functionality. What kind ...
3
votes
1answer
470 views

What's a good notation for showing MVC interactions?

I'm developing various websites and functionality to cater to various different use-cases up in Django. Is there a good notation for showing what behaviour is at each stage, e.g., swimlanes. I use ...
4
votes
4answers
2k views

Web pages in UML sequence diagrams?

In my current project, we have an ongoing discussion about whether or not it's a good idea to include an artifact representing a web page in an UML sequence diagram for a web application, making ...
2
votes
1answer
1k views

How do you do to create the ViewModel part of your MVVM designs?

Sometimes, when I plan to create a program using this architectural pattern, I've got a lot of difficulties when I'm in the View Model phase. I'm using WAF Framework to develop this architectural ...
2
votes
1answer
510 views

How to model a many to many from a DDD perspective in UML?

I have a two entity objects Site and Customer where there is a many to many relationship. I have read you try not to model this in DDD as it is in the data model and go for a unidirectional flow. If ...
34
votes
10answers
3k views

Is code commonly generated from UML?

So when I was at university I was educated on the benefits of UML and its future in code development. But from my industry experience, I've found that while we do use diagrams—ranging from ER ...
17
votes
7answers
951 views

What are the essential things one needs to know about UML?

I want my scribbles of a program's design and behaviour to become more streamlined and have a common language with other developers. I looked at UML and in principle it seems to be what I'm looking ...
4
votes
3answers
868 views

Agile (scrum) and UML round-trip tools [closed]

How effective are automated round-trip tools for UML modeling? Do they help in coding quick, clean, efficient code? In what ways do these tools fit into the Agile methodology?
14
votes
3answers
9k views

UML Diagrams of Multi-Threaded Applications

For single-threaded applications I like to use class diagrams to get an overview of the architecture of that application. This type of diagram, however, hasn’t been very helpful when trying to ...
-1
votes
4answers
389 views

Software for requirements and use cases [closed]

I am looking into some UML modeling software, which there is plentiful of on the market, but only a few I found support recording of requirements and written use cases (not the diagrams yet). Are ...
5
votes
3answers
1k views

Software development life cycle in the industry

I am taking a module called "Requirements Analysis & Design" in a local university. Common module, I'd say (on software development life cycle (SDLC) and UML). But there is a lot of things I ...
3
votes
2answers
684 views

Collaborate on UML online [closed]

Some friends and I are starting up a hobby programming project. I wonder if there is any good method/tool/service which lets us collaborate on UML diagrams online. This can be in any form (online ...
10
votes
1answer
267 views

Drawing thread interaction

I'd like to draw (pen and pencils) threads interaction in a UML(-like) notation. I don't insist on UML, anything that is obvious to the reader should do. I started with sequence diagrams, but I don't ...
3
votes
1answer
379 views

Is this the correct way to use extends?

I am making a UML diagram. Im wondering if im using the extends feature correctly. I have a marketer that can search contacts but only if they have created them in the first place.... Have i got the ...
0
votes
1answer
80 views

How to link classes in different packages (on different pages)?

Extending the answer to this question, I have broken down a large system into a few classes per package. Each package is now shown in a different page for readability, but now how do I show the ...
4
votes
7answers
367 views

Recommended ways for getting a good grasp of inherited software

So you've inherited a large codebase that you need to make substantial changes to and you wish to get a pretty complete understanding of the software before starting. Would you diagram it? If so, ...
1
vote
2answers
535 views

How to draw a (UML) class diagram when the classes are dispersed across a distributed system?

Basically how to denote that class foo is from a different server than class bar ?
6
votes
4answers
20k views

How to include conditions in UML sequence diagrams?

I like to draw a UML sequence diagram to display the sequence of actions and interactions of different parts of my system (I think they called actors). However, I need to include if then else ...
5
votes
5answers
2k views

How to tackle complex business rule and logic?

I have a domain expert to work with, but he would throws a lot of details to me verbally. The business logics are complex, business rules change often, the business process is long and multi-ending / ...
2
votes
3answers
323 views

Formal requirements analysis

I've been doing a Requirements Analysis module in my university. We've covered all kinds of formal requirements stuff, like UML, Use Case Diagrams, Sequence Diagrams and Contracts. I have to ask- are ...
5
votes
1answer
4k views

Difference between statechart and sequence diagram

I realise these two diagrams are very similar, with the obvious difference one models the sequence of a certain function, whilst the other models the state throughout a function being carried out. ...
3
votes
3answers
3k views

How do you annotate instantiation in UML class diagrams?

Given this pseudo code: class B { } class A : B { int val; }; alpha = new A(); What arrow do I draw between alpha and A in a UML class diagram? Is this even something UML is meant to do? ...
10
votes
6answers
789 views

How should I plan out my code base?

I'm currently working on a project that's about to reach over 5,000 lines of code, but I never really completely thought out the design. What methods should I use to structure and organize my code? ...
2
votes
2answers
563 views

UML to portray SQL objects

I am delving into the science of UML. The tool I am using is ArgoUML. I feel very confident portraying OO designs through this tool. But what still vexes me is the incorporation of the database. ...
1
vote
1answer
187 views

ArgoUML - Learning [closed]

So I just got a copy of ArgoUML. I originally thought I'd be able to just play around with it to learn it, but it's turning out to be extremely difficult. I searched online for tutorials and videos ...
1
vote
1answer
519 views

What is a combined fragment in a UML Sequence Diagram?

Everything is in the question. I just discover this new feature and I don't really understand what it stands for. I know that it can represent loop, alternative in the sequence diagram. Can someone ...
7
votes
3answers
695 views

Can you use UML in a TDD project?

If so, at what stage? or it is also an iterative process? If iterative, how formal? Also, how useful is UML for a solo programmer doing open source? While I like to see a picture of the system, it ...
5
votes
4answers
211 views

Is defining every method/state per object in a series of UML diagrams representative of MDA in general?

I am currently working on a project where we use a framework that combines code generation and ORM together with UML to develop software. Methods are added to UML classes and are generated into ...
12
votes
5answers
1k views

Do you create a design with UML before you start? [duplicate]

Possible Duplicate: How often do you use Formal UML? I'm currently following a study UML called UML Fundamentals. While studying, I wondered if companies even bother creating system ...
8
votes
5answers
602 views

What is the standard for modeling modern applications prior to development?

I'm taking on my first enterprise-level application and I want my team to model the entire ASP.NET MVC C# application before we even tap out one line of code. UPDATE: This was not intended to be a ...
1
vote
7answers
438 views

System analysis at the begining of the project

When I want to develop a new application, first I'm going to design a UML and specify project details and definition. But when I start development process, I determine that I should change some parts ...
3
votes
1answer
395 views

Which UML colors should this example be represented by?

See UML colors here. Here is the example, I have following entity classes: User(name) MailBox(owner: User, label) Mail(from: User, to: User, subject, body, composeTime) MailCopy(type, from: User, ...
3
votes
2answers
250 views

Should framework classes (e.g. .NET, Java) be included in UML diagram?

Say in a UML Sequence diagram, I am showing a call to the database using ADO.NET. Do I need to include the SqlConnection, SqlCommand, SqlDataReader object in the diagram? Is it just preference ...
0
votes
1answer
200 views

logical subsystem & physical subsystem

I've done a google search on both of them, can't find much information. I was wondering what is a logical subsystem and physical subsystem (in an object-oriented system)? Also why would it be useful ...
3
votes
2answers
775 views

How do you represent container classes in UML?

When drawing out quick class diagrams, I'm often at a loss how to represent classes that are used just to pass data around between various parts of the program. I've been putting them out in the ...
0
votes
2answers
180 views

How to do this in Standard UML?

In the below Sequence diagram, when the user have entered the Username and Password, I have to do the authentication. Now you can see two details valid details and invalid detail in the diagram , ...
13
votes
10answers
1k views

How useful is UML if you are a developer working alone in a project [closed]

How useful is UML if you are a developer working alone in a project?
4
votes
4answers
11k views

Advantages & Disadvantages of using Class Diagrams [closed]

Any and all advantages/disadvantages would be appreciated!
2
votes
1answer
246 views

Appropriate UML diagram

What is an appropriate UML diagram if I want to display how user request web page, enters some data, then posts the form (and if the validation has not succeeded, user is redirected back to requested ...
8
votes
7answers
537 views

How indepth should a programmer develop his understanding of the Unified Process and UML? [closed]

I know a lot of places use UML and the unified process as their development model... but then there's a lot that don't. Would it be important to have more than a basic and functional understanding of ...
5
votes
7answers
752 views

Design Code Outside of an IDE?

Does anyone design code outside of an IDE? I think that code design is great and all but the only place I find myself actually design code (besides in my head) is in the IDE itself. I generally ...
2
votes
3answers
2k views

Any examples of using Visio to document software?

I have Visio 2010 and want to learn how to use it to document software. Does anyone have examples of what Visio does well? Are there any things that Visio can do, but there are better tools for the ...
2
votes
2answers
2k views

how to express alternative flows in activity diagram

I want to express the below events in an activity diagram: An alternative flow, such as "at step x of basic flow, user clicks cancel instead of ok". An alternative entry to the use case, such as ...
6
votes
6answers
9k views

UML: Going from Use Case to Class Diagram

In simple steps how can one make the transition from a Use Case diagram to a Class diagram?
5
votes
1answer
1k views

Sequence Diagrams

I recently read the book 'UML Distilled' and found the sequence diagrams very useful. My question is that can we show 'data flow' as well on a sequence diagram? This is my first time on sequence ...
3
votes
2answers
412 views

Question between aggregations, compositions, references (arrow) and simple link (nothing) relations within UML2?

I have some questions regarding relations between aggregations, compositions, references (arrow) and simple link (nothing) relations within UML2 ? If A -> B -> C each have composition relationship. ...
1
vote
4answers
1k views

Can an aggregate root hold references of members of another aggregate root?

I know that outside of aggregates I can't change anything inside an aggregate without passing by his root. That said I would like to know if an aggregate root can hold references of members (objects ...
6
votes
4answers
348 views

What modelling technique do you use for your continuous design? [closed]

Together with my teammates, I'm trying to self-learn XP and apply its principles. We're successfully working in TDD and happily refactoring our code and design. However we're having problems with the ...
8
votes
6answers
2k views

On-the-fly graphical representation of code [closed]

I know about Omondo's plugin for live code-UML synchronization in Eclipse, but I was wondering if there was any other tool/IDE/IDE-extension that has some form of live graphical code representaiton ...