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

learn more… | top users | synonyms

37
votes
11answers
6k views

Is code commonly generated from UML? [closed]

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 ...
31
votes
12answers
2k views

How often do you use Formal UML?

I used ad-hoc MUML (made-up modeling language) to design and explain system fairly frequently. It looks similar to UML and tends to be pretty well understood. However, I've had a professor or two ...
22
votes
20answers
13k views

How important are UML diagrams for a successful project? [closed]

I'm in the middle of a project and I was asked to write UML diagrams (use cases,class diagram,etc). The project isn't very complex. I was wondering if this be a waste of my time? Should I just be ...
22
votes
4answers
42k views

UML class diagram notations: Differences between Association, Aggregation and Composition

I'm confused about some of the notations of UML class diagrams. Pretty sure I know what Association means. Any relationship between instances of two classes, where an instance of one class needs to ...
18
votes
3answers
20k 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 ...
17
votes
3answers
1k views

Why is UML not used in most free software (e.g. on Linux)?

I'm trying to understand why UML is not used in most free software projects. For example, my Debian/Linux system has probably more than ten thousand free software packages, and I cannot name even one ...
17
votes
7answers
1k 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 ...
16
votes
5answers
10k views

Are UML class diagrams adequate to design javascript systems?

Given that UML is oriented towards a more classic approach to object orientation, is it still usable in a reliable way to design javascript systems? One specific problem that I can see is that class ...
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?
13
votes
13answers
46k views

Best free UML authoring tool [closed]

What free UML authoring tools do you use and why is it better than others?
13
votes
5answers
2k 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 ...
11
votes
6answers
1k views

How to Be a Software Engineer? [duplicate]

My problem is kind of weird so please bear with me. I have been working in a start up concerned basically with mobile development since my graduation 2 years ago. I develop apps for iOS but it's not ...
11
votes
1answer
345 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 ...
10
votes
4answers
2k views

“UML is the worst thing to ever happen to MDD.” Why?

William Cook in a tweet wrote that: "UML is the worst thing to ever happen to MDD. Fortunately many people now realize this ..." I would like to know the reasoning behind that claim (apparently, I'...
10
votes
12answers
3k views

Should you Create Class Diagrams before or after implementation?

The way I see it if you create one before you get the advantage of: Planning ahead Overview of the project but you lose: Time (doing work you'll probably end up repeating when writing code) On ...
10
votes
6answers
965 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? ...
10
votes
8answers
18k views

OO Design related questions in technical interviews [closed]

I've been attending quite a few interviews recently and have been asked by companies to answer "design a [insert model]" questions more than a few times. Is this normal in the industry nowadays? I'...
9
votes
2answers
507 views

Why is it inappropriate to use UML diagrams to plan how your code will be organized?

So, yes, diagrams can be inappropriate at times. When are they inappropriate? When you create them without code to validate them, and then intend to follow them. There is nothing wrong with drawing ...
8
votes
7answers
584 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 ...
8
votes
5answers
1k 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 ...
7
votes
3answers
526 views

Should I create Use Cases or create Class Diagrams first?

So I'm designing an Education Management System and I'm wondering if I should be creating the Use Cases or the Class Diagrams first?
7
votes
3answers
13k views

Mapping between 4+1 architectural view model & UML

I'm a bit confused about how the 4+1 architectural view model maps to UML. Wikipedia gives the following mapping: Logical view: Class diagram, Communication diagram, Sequence diagram. Development ...
7
votes
3answers
34k 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 ...
7
votes
6answers
13k 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?
7
votes
2answers
22k views

What does the arrow mean in a Class Diagram?

I need help trying to understand what the meaning of the arrow in a UML Class Diagram is, more specifically in this Composite Diagram. What's the difference between the simple line (from a class to ...
7
votes
3answers
928 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 ...
7
votes
4answers
2k views

Software design by pseudocoding?

Do you know a good way to design (i.e. write down) software with a method based on pseudocode? I'm new to software design and read some information about UML. My humble class hierarchies are good so ...
7
votes
9answers
61k views

UML modeling tool for Linux [closed]

I am starting a new project using Eclipse under Linux and I am looking for a UML 2.x modeling tool not just a diagramming tool. Do anyone has experience with UML plugin for Eclipse? Does it support ...
7
votes
3answers
56 views

UML - may a uml diagram contain different types of uml models?

^ e.g. is it allowed to link directly from a use case to an activity diagram - or- from a class diagram to a use case by connecting them with an association note -or - form a component diagram to a ...
6
votes
6answers
4k views

Truly useful UML diagrams

UML has a jungle of Diagrams. Profile Diagrams, Class Diagrams, Package Diagrams... However, (IMH-and-not-too-experienced-O) I quite see that doing each and every diagram is overkill. Therefore, ...
6
votes
1answer
3k views

What UML diagram should I use to show a platform's architecture?

I have been learning UML and have a basic understanding now, but I keep seeing these sort of high level architecture diagrams. Here's one from Microsoft: Source: A bad picture is worth a thousand ...
6
votes
1answer
1k views

How do you perform modeling in an Extreme Programming environment?

I know methodologies, like Extreme Programming (XP), which specifies its own specific practices for developing software. However, unlike Scrum where it focuses more on management aspects, XP specifies ...
6
votes
1answer
507 views

How to display in compositional relationship that the item knows about the container?

I'm drawing a class diagram and noticed that sometimes I got a relationship (composition or aggregation) where the item uses the container, and sometimes not. What is the visual difference in a ...
6
votes
3answers
580 views

What diagrams, other than the class diagram and the workflow diagram, are useful for explaining how an application works?

I am working on a small Delphi project, composed of two units. One unit is for the GUI, and the other for data management, file parsing, list iterating and so on.. I've already made a class diagram, ...
6
votes
4answers
3k 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 ...
5
votes
3answers
7k 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? +---...
5
votes
7answers
847 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 ...
5
votes
2answers
920 views

Object oriented design importance

I started studying Object Oriented Design and Modelling using the this book by James Rumbaugh. It uses a tool called Object Modeling Technique (OMT). I have certain newbie questions. I searched the ...
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 / ...
5
votes
3answers
2k 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 ...
5
votes
3answers
4k views

Do activity diagrams always end in one endpoint?

For example an activity diagram for a simple program: Get User data. If User Exists DO something, ELSE do nothing. End. I often see diagrams with multiple endpoints but also with just one. Should ...
5
votes
3answers
5k views

What is the order of diagram drawing in a design?

I'm new with OOP and UML and I have some confusion here. I'd like to know where to start, I mean, somebody comes to you and ask you to do something (involves software design of course), once you have ...
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 ...
5
votes
1answer
7k views

What is the general format of a Software Design Specification?

I'm trying to document a piece of software I wrote in detail. An SAS is too high level and doesn't cover the API. I found several examples of an SDS online, but I don't see a trend in their format. I'...
5
votes
1answer
4k views

How can I express recursive composition in UML class diagrams?

I have one class called "Institution" which represents a public institution (with properties like id_inst, name_inst, tel_inst, fax_inst...). The institution can have affiliated institutions, for ...
5
votes
1answer
9k 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. ...
5
votes
3answers
471 views

Should a developer adhere to the class diagrams produced during system design?

The class diagram is modeled on the system requirements, and it is important to create solutions based on those requirements. If I have said class diagram should I strictly adhere to it? What about ...
5
votes
1answer
35 views

UML use case diagram: Actors on left and right?

I'm currently drawing a use case diagram (using UML2.0) and it's getting quite large and unorganised. So my question is, is it acceptable to place actors on both the left and right of the system ...
5
votes
2answers
87 views

Should Modelling Document Analysis?

I use UML I, like most (I think), use UML as my main diagramming toolset. UML is clear and useful for representing OOP and has sufficiently diverse diagrams that there is something for whatever area ...
5
votes
1answer
123 views

Client-side classes structure in UML project

I and two university colleagues of mine are designing a simple CMS software for a university exam using UML. Such software just needs to deal with sending an article, assigning an article for review, ...