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

learn more… | top users | synonyms

6
votes
6answers
2k 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, ...
3
votes
3answers
3k 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 ...
4
votes
2answers
783 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 ...
0
votes
2answers
130 views

Plan variable and call dependencies [closed]

I'd like to write down the design of my program to understand the dependencies and calls better. I know there are class diagrams which show inheritance and attribute variables. However I'd also like ...
2
votes
13answers
525 views

How much should I worry about modeling/analyzing a web application?

I'm developing kind of a modern web application - scalable, robust and fast. I need to develop it as fast as I can. How much should I worry about the analysis phase or writing UML diagrams or ER ...
1
vote
1answer
568 views

UML, Dependency, and Martin Fowler's Data Mapper Diagram

I'm trying to get a better understanding of Dependency. In Martin Fowler's explanation of the Data Mapper pattern, http://martinfowler.com/eaaCatalog/dataMapper.html, the UML diagram shows the Mapper ...
5
votes
1answer
2k 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 ...
-3
votes
1answer
543 views

Sequence diagram should consist of View objects, DB objects, etc.?

I read many articles, and saw a lot of images and I can't answer the question whether objects of View classes or DB classes should be contained on the sequence diagram or it should be more ...
4
votes
2answers
788 views

Explaining how the code you wrote works [closed]

I was asked to create for a freelance project a Monopoly game in Java. After finishing it the same guy asked me to create four UML diagrams from which he could understand how the game works. ...
4
votes
5answers
1k views

Limitations of UML? [closed]

I'm currently studying for an examination and one of the sample paper questions is to discuss the limitations of UML. Most of the material I'm finding on the net is relating to a specific UML ...
5
votes
1answer
8k views

Are using <<include>> and <<extend>> relationship in this use-case diagram actually same?

I am trying to draw a UML use-case diagram to model requirements for a software project. The two requirements I have issue to model are: TravelAgent creates a booking for a [old] client who is ...
2
votes
3answers
356 views

How to model two similar tasks with the Use-case diagram

I am trying to draw a use-case diagram for a software project. Two requirements for the software I am trying to model in use-case diagram are: A customer (i.e. Client) should be able to cancel its ...
1
vote
1answer
1k views

<<access>> and <<use>> in UML Component diagrams

How to decide if have to take the <<access>> or <<use>> notation for "-->" arrows in Component diagrams written in UML?
22
votes
19answers
8k views

How important are UML diagrams for a successful project?

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 ...
1
vote
4answers
2k views

best way to handle a many to many relationship?

I am drawing a class diagram and I want to know what's the proper notation for many to many relationship between supplier and product? Should I show the table created supplier_product or leave it out ...
3
votes
3answers
1k views

Where to start a software Analysis & Designing? [closed]

I am starting a big database-oriented software project to develop. I have full picture of the software in mind. I need to do the designing using UML. As there are various tools in UML such as usecase, ...
3
votes
2answers
393 views

Component Diagram, what's next?

I'm working on an iPhone application and I created a component diagram. I defined interfaces for each component. For example I have an AI component and I have made some interfaces for it. How should ...
6
votes
1answer
910 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 ...
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
144 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
533 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
1k 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
583 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 ...
38
votes
11answers
4k 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 ...
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 ...
4
votes
3answers
924 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?
16
votes
3answers
11k 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
436 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
746 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
296 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
415 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
87 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
392 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
574 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
3answers
24k 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
1k 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
371 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
5k 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
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
818 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
707 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
207 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
563 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
768 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
739 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
470 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 ...