Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
PlantUML040coders.nl 2020-02-20
Klaas van Gend
Klaas van Gend
C++
UML and software tools
The Three Amigos
Grady BoochRational 1981-2008IBM “Generic” 2008-now
James RumbaughDEC early 60s-1968GE Research 1968-94(OMT)Rational 1994-2006Retired
Ivar JacobsonEricsson 1962-1995(Objectory 1987-1991/5)Rational 1995-2003Ivar Jacobson Intl 2003-now
UML Predecessors
UMLDiagram
Class Diagram
Component Diagram
Object Diagram
Activity Diagram
Use Case Diagram
Profile Diagram
Composite Structure Diagram
Deployment Diagram
Package Diagram
Interaction Diagram
State Machine Diagram
Sequence Diagram
Communication Diagram
Interaction Overview Diagram
Timing Diagram Notation: UML
Behaviour Diagram
Structure Diagram
What UML is● A language to describe what elements in an
image mean● intended to provide a standard way
to visualize the design of a system
What UML is not● A software analysis methodology● A software design methodology● A programming language● Free from dialects and heated debates
UML False Promises● Design and code are interchangeable
– a.k.a. “reverse engineering”– a.k.a. “round-trip engineering”
● Easily generate your code from the design– Every MDD tool needs additional work/code– ‘Glue code’ tends to be painful
● Fool-proof– No, fools still make beautiful but bad designs
● Time saving
A few visual UML tools
Rational RoseRational Rose RTRational Rose Modeling XDERational Software ArchitectRational Software Architect RTERational Rhapsody
ArgoUML
Visio
StarUML UmbrelloTogether
PlantUML
PlantUML Demo
● Turn simple text into UML diagrams
● Microsoft Visual Studio Code on Linux– with PlantUML plug-in– This Plug-in uses a web service for rendering
● Available stand-alone as jar file
The Use Case
Key take aways:
PlantUML is:● Quick Text-to-UML-Diagram tool
● Made for programmers; not for “powerpoint architects”
● Simple, versatile and “good enough”
● Text-based: store files in your repo!
● Available as plug-in for almost everything
● Just as annoying when it ‘won’t align properly’
https://040coders.nl/slides/ 2020-02-plantuml.pdf