Since the dawn of computing, software designers and developers have searched for ways to describe the systems they worked so hard to create. Flowcharts enabled the concise documentation of program-flow and algorithms. Entity-relationship diagrams enabled database designers to convey the structure underlying the collection of tables and columns that made up a schema. From the beginning, technologists recognized the descriptive power inherent in visual representations of a system, yet it wasn't until 1997 that the first attempt to create a visual language that could be used across all aspects of a system development project came to fruition. Unified Modeling Language (UML) was born.
UML has taken the software development industry by storm. Widely supported by development and documentation tools, UML can be used on the one hand by programmers to record such things as the detailed design of classes in an object-oriented system and on the other hand by business analysts to give the broad-brush picture of how a system interacts with users and other systems. UML has become the lingua franca of software development, and no one in the software industry can afford to be without knowledge of this powerfully expressive visual language.
Learning UMLintroduces UML and places it in perspective, then leads you through an orderly progress towards mastery of the language. You'll begin by learning how UML is used to model the structure of a system. Many key UML concepts, especially that of the general (classes) versus the specific (objects), are illustrated in the chapter on class and object diagrams. Next, you'll learn how to use use-case diagrams to model the functionality of a system. Finally, you'll see how component and deployment diagrams are used to model the way in which a system is deployed in a physical environment.
Structural modeling answers the "who" and "what" questions of systems development. Behavioral modeling addresses the questions of "when," "how," and "why." You'll learn how to use sequence and collaboration, to model the interaction over time between system components, how to use state diagrams to describe the life cycle of system components, and how to use activity diagrams to document control-flow and responsibility.
Throughout this book, author Sinan Si Alhir maintains a clear focus on UML the language and avoids getting caught up in the cobwebs of methodology. His presentation is direct and to-the-point. Each chapter ends with a set of exercises that you can use to test your growing knowledge of UML and its concepts. As you work your way through the book, you'll find yourself warming up to the simple yet expressive language that is UML, and using it to communicate effectively and professionally about all aspects of system design.
What people are saying - Write a review
It's good to see another nuts-and-bolts UML book in the O'Reilly series. The content is presented in an orderly way and the style will appeal to newcomers to UML. However, I wasn't wholly convinced about the authority with which UML 2.x was understood or put forward. UML 2.x is very different from UML 1.x, in particular the way in which object semantics have changed in some diagrams (c.f. the difference between formal and actual arguments). I noticed one common misunderstanding in the introduction to object-orientation: defining polymorphism as the ability of different classes to provide their own methods, selected at runtime. This isn't polymorphism, but dynamic binding. Polymorphism is the admission of flexible typing into a language's type system.
What Is the UML?
The UML and Process
Learning the UML
Alphabets Words and Sentences
The ObjectOriented Paradigm
Sequence and Collaboration Diagrams
Messages and Stimuli
Class and Object Diagrams
Classes and Objects
Associations and Links
Types Implementation Classes and Interfaces
Generalizations Realizations and Dependencies
Packages and Subsystems
Component and Deployment Diagrams
Advanced State Diagrams
Beyond the Unified Modeling Language
The Object Constraint Language