Elements of UML 2.0 Style
The Unified Modeling Language (UML) has been an important part of the software development landscape since it’s introduction in 1997. We’ve seen the UML evolve over the years, it is now into its 2.x series of releases, yet one thing has been constant and is likely to remain so – modeling style. Models are used by professional developers to communicate their work to project stakeholders or to other developers, and by understanding and following common modeling style guidelines you can improve the effectiveness of your models.
This book describes a collection of standards, conventions, and guidelines for creating effective UML diagrams. They are based on sound, proven software engineering principles that lead to diagrams that are easier to understand and work with. These conventions exist as a collection of simple, concise guidelines that if applied consistently, represent an important first step in increasing your productivity as a modeler.
This guide attempts to emulate Strunk and White’s seminal text, The Elements of Style, which lists a set of rules describing the proper application of grammatical and compositional forms in common use within the written English language. This book is small, short, and to the point. Using a similar style of presentation, The Elements of UML 2.0 Style defines a set of rules for developing high-quality UML diagrams. In doing so, this guide:
Employs existing standards defined by the Object Management Group (OMG) wherever possible
Provides a justification for each rule
Presents standards based on real-world experience and proven software-engineering principles.
This book is an ideal quick reference describing UML modeling guidelines. Just like The Elements of Java Style is being used by organizations as the basis for their Java coding guidelines, my hope is that organizations will use this book as the basis for the UML modeling standards and guidelines.
Much of the material presented in this book is covered online, and the pertinent links are provided below. The primary advantage of the book is that it gathers these critical modeling guidelines in a compact and handy format -- a book that fits right in your shirt pocket.
I've made several changes in this edition:
This guide targets professional software developers who are interested in:
Creating effective UML diagrams
Increasing their productivity, and
Working as productive members of a object-oriented development team.
In this book I make three assumptions:
You understand the basics of the UML and modeling. If not, then I suggest The Diagrams of UML 2.0 if you’re looking for a brief overview of the UML and The Object Primer 3/e for a more comprehensive discussion.
Your focus is on business application development. Although these guidelines also apply to real-time development all of the examples are business application oriented, simplifications of actual systems that I have built in the past.
I assume that you belong to a Western culture. Many of the layout guidelines are based on the Western approach to reading – left to right and top down.
We actively work with clients around the world to improve their information technology (IT) practices, typically in the role of mentor/coach, team lead, or trainer. A full description of what we do, and how to contact us, can be found at Scott W. Ambler + Associates.
This site owned by Ambysoft Inc.