Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PlantUMLとAtomで バージョン管理可能な UMLを書いてみよう
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
th1209
August 27, 2017
Programming
750
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PlantUMLとAtomで バージョン管理可能な UMLを書いてみよう
th1209
August 27, 2017
More Decks by th1209
See All by th1209
Experimentalでも使いたい!GraphView実践導入Tips
th1209
0
620
Other Decks in Programming
See All in Programming
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
130
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
1.9k
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
620
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
760
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
550
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
120
New "Type" system on PicoRuby
pocke
1
480
ふつうのFeature Flag実践入門
irof
7
3.6k
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
OSもどきOS
arkw
0
460
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
380
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.1k
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
141
7.5k
The agentic SEO stack - context over prompts
schlessera
0
800
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
600
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
56k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
200
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Visualization
eitanlees
152
17k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
How to build a perfect <img>
jonoalderson
1
5.6k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Transcript
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 ・可視化・共同編集に一手間(修正毎に画像化する必要があるため)。