Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
PlantUMLとAtomで バージョン管理可能な UMLを書いてみよう
Search
th1209
August 27, 2017
Programming
760
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PlantUMLとAtomで バージョン管理可能な UMLを書いてみよう
th1209
August 27, 2017
Transcript
23 slides
PlantUMLとAtomで バージョン管理可能な UMLを書いてみよう 2017/08/27 Symfony Meetup #17 th1209
None
ちゃんと設計やっていますか?
ちゃんと設計やっていますか? 普段からUML書いてますか?
今日のテーマ ☓ PlantUML Atom
環境構築 Java plantuml.jar Atom plantuml-viewer Graphviz
None
None
@startuml{class_example.png} … title クラス図(Mediatorパターン) ... @enduml
None
@startuml{class_example.png} ... class Chatroom { - colleagues: ArrayList + void
addColleague(colleague:Colleague) } ... @enduml
None
@startuml{class_example.png} ... Mediator <|.. Chatroom Colleague <|.. User Chatroom *--
User User *-- Chatroom ... @enduml
None
None
@startuml{class_example.png} ... actor client participant "chatroom:Chatroom" as chatroom participant "alice:User"
as alice participant "bob:User" as bob ... @enduml
None
@startuml{class_example.png} ... client -> chatroom : construct() activate chatroom ...
@enduml
None
@startuml{class_example.png} ... loop Userインスタンスの数だけ繰り返す ... end group メッセージの通知 ... end
... @enduml
プルリク上での共有 1. 以下コマンドで画像化して... 2. プルリクページ上に貼り付け! java -jar (jar_file_path)/plantuml.jar (plant_uml_file)
参考 [Qiita AtomとPlantUMLで爆速UMLモデリング](http://qiita.com/nakahashi/items/3d88655f055ca6a2617c) ・ Windows環境での導入記事。 [Qiita テキスト入力でUMLをライブプレビューしてくれるツール( plantuml-viewer:Atomプラグイ ン)](http://qiita.com/mas821/items/7932c983783ffc4f9c83) ・
Mac環境での導入記事。 [Qiita PlantUML Cheat Sheet](http://qiita.com/ogomr/items/0b5c4de7f38fd1482a48) ・ 各UMLでの基本的な書き方について説明されています。 [PlantUML Language specification](http://plantuml.com/sitemap-language-specification) ・ 公式ドキュメント。詳細な書き方はここを参照されると良いかと思います。 [IT専科 UML入門](http://www.itsenka.com/contents/development/uml/) ・UML自体の書き方は、こちらのページの解説が丁寧です。
まとめ GOOD ・簡単に使える(環境構築・DSL記述の敷居が低い) ・github etc でバージョン管理できる! BAD ・可視化・共同編集に一手間(修正毎に画像化する必要があるため)。
More Decks by th1209
See All by th1209
Experimentalでも使いたい!GraphView実践導入Tips
th1209
0
750
Other Decks in Programming
See All in Programming
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
200
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
140
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
180
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
320
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
180
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
280
Getting Started with Vibe Coding
miccheng
0
240
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
350
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.3k
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
210
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
360
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
58k
So, you think you're a good person
axbom
PRO
2
2.3k
For a Future-Friendly Web
brad_frost
184
11k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.3k
Unsuck your backbone
ammeep
672
58k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
980
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
What's in a price? How to price your products and services
michaelherold
247
13k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
300