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
DBFlute Introで 気軽にDBコメント変更
Search
Akifumi Tominaga
November 26, 2017
Programming
0
120
DBFlute Introで 気軽にDBコメント変更
DBFlute IntroでDatabaseのスキーマをコメントをつけて管理しようという話
Akifumi Tominaga
November 26, 2017
Tweet
Share
More Decks by Akifumi Tominaga
See All by Akifumi Tominaga
Firebase Remote Config を利用した Feature Flags の導入
decoch
0
120
Firebase Performance を利用したアプリの起動時間高速化
decoch
0
98
依存関係を静的解析しよう
decoch
2
370
CircleCIを使って 「完全サーバーレス運用」を 実現した話
decoch
2
430
GOで作るCLIツール
decoch
1
320
DBFlute-intro
decoch
0
53
Other Decks in Programming
See All in Programming
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
100
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
CSC509 Lecture 09
javiergs
PRO
0
140
役立つログに取り組もう
irof
28
9.6k
Amazon Qを使ってIaCを触ろう!
maruto
0
400
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
920
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
910
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
Jakarta EE meets AI
ivargrimstad
0
540
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
1.5k
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Building an army of robots
kneath
302
43k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
KATA
mclloyd
29
14k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Site-Speed That Sticks
csswizardry
0
24
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Adopting Sorbet at Scale
ufuk
73
9.1k
Transcript
DBFlute IntroͰ ؾܰʹDBίϝϯτมߋ 2017/11/26 #DBFluteFes @deco
Agenda • ࣗݾհ • DBFlute-introͱ • DBίϝϯτʹ͓͚Δ՝ • DBFlute-introͰͲ͏ղܾ͢Δ͔ •
σϞ • ػೳՃ༧ఆ • Q&A
ࣗݾհ
ࣗݾհ • ໊લ : Ӭߊ࢙ @deco • ৬छ : AndroidɺiPhoneΤϯδχΞ
DBFlute-introίϛολʔ
DBFlute-introͱ
DBFlute-introͱ • Javaͷ࣮ߦڥ͑͋͞Εར༻Ͱ͖Δπʔϧ • ΞϓϦͷ֎ଆͰ׆༂͢ΔDBFluteͷػೳΛɺ GUI͚ͩͰ࣮ߦͰ͖Δπʔϧ • ຊόʔδϣϯ0.1.3ΛϦϦʔε͠·ͨ͠ɻ https://github.com/dbflute/dbflute-intro/ releases
DBFlute-introͱ
DBFlute-introͱ • Github https://github.com/dbflute/dbflute-intro • ֓ཁ http://dbflute.seasar.org/ja/manual/function/helper/intro/ index.html https://www.slideshare.net/nakamu0718/dbflute-
intro-69599954?ref=https://connpass.com/event/43457/ presentation/
DBίϝϯτʹ͓͚Δ՝
࣭ • DBมߋΛߦ͏ػೳՃΛߦͬͨ͜ͱ͋Γ· ͔͢ʁ • DBมߋ࣌ʹίϝϯτ͕ͳͯ͘ࠔͬͨ͜ͱ͋ Γ·ͤΜ͔ʁ
എܠ • ͳΜͰ͜Μͳ͜ͱ͕ى͖Δͷ͔ʁ • ߟ͑ͯΈ·ͨ͠ɻ(ओ؍)
αʔϏεϦϦʔεޙ
αʔϏεϦϦʔεޙ • ςʔϒϧ20ະຬ • ։ൃऀ1~2໊ • ͦΕͧΕςʔϒϧͷҙຯΛѲ͍ͯ͠Δ
ϦϦʔεޙ1 ඇެ։
αʔϏεޙ1 • ςʔϒϧ50ະຬ • ։ൃऀ1~10໊ • ଞͷ։ൃऀ͕࡞ͬͨςʔϒϧ͕ѲͰ͖ͳ͘ͳͬ ͯ͘Δ • ։ൃऀ͕ଟ͘ͳ͍ͷͰɺฉ͚୭͔͕͍ͬͯ
Δ
ϦϦʔεޙ10ޙ ඇެ։
αʔϏεޙ10 • ςʔϒϧ300Ҏ্ • ։ൃऀ30໊~ • Α͘Θ͔Βͳ͍ɺࣅͨΑ͏ͳςʔϒϧଟ • ࡞ͬͨਓࣾʹ͍ͳ͍͜ͱ͕ଟ͍ •
༗ࣝऀࢄ͍ͯͯ͠୭ʹฉ͚͍͍͔Θ͔Βͳ͍
՝ • ίϝϯτ͕ͳ͍͔ΒɺαʔϏεಛ༗ͷཕΛ ౿Ήएख͕ଓग़ɻ • ίϝϯτΛॻ͜͏ͱͯ͠ɺERMϑΝΠϧΛ มߋ͢ΔͨΊ͕͔͔࣌ؒΓΓ͕ͨΒͳ͍ਓ ͕ଟ͍ɻʢDBFluteͷ߹ʣ
DBFlute-introͰͲ͏ղܾ͢Δ͔
DBFlute-introͰͲ͏ղܾ͢Δ͔ • DBͷใΛݟΔͷERਤ͔schema.html͕΄ ͱΜͲɻ -> schema.html্ͷDBίϝϯτΛมߋͰ ͖ΔΑ͏ʹ͠Α͏ʂʂ
DBFlute-introͰͲ͏ղܾ͢Δ͔
Ͳ͏࣮ͬͯݱ͢Δͷ͔
DBίϝϯτͷอଘॲཧͷྲྀΕ scheme.html DBFlute-intro dfmap
DBίϝϯτͷอଘॲཧͷྲྀΕ scheme.html DBFlute-intro dfmap
DBίϝϯτͷอଘॲཧͷྲྀΕ scheme.html DBFlute-intro dfmap
DBίϝϯτͷอଘॲཧͷྲྀΕ scheme.html DBFlute-intro dfmap
DBίϝϯτͷอଘॲཧͷྲྀΕ scheme.html DBFlute-intro dfmap
DBίϝϯτͷөॲཧͷྲྀΕ scheme.html DBFlute-intro dfmap ϑΝΠϧΛ։͍ͨλΠϛϯάͰintroʹϦΫΤετ
DBίϝϯτͷөॲཧͷྲྀΕ scheme.html DBFlute-intro dfmap dfmapϑΝΠϧΛಡΈࠐΉ
DBίϝϯτͷөॲཧͷྲྀΕ schema.html DBFlute-intro dfmap Ϛʔδ݁ՌΛJSONʹม JSON݁Ռ͔Βschema.htmlΛDOMૢ࡞
͍ํ • DBFlute-introΛμϯϩʔυ • ىಈ • schema.html͔ΒίϝϯτΛฤू
͍ํ • ֤։ൃऀ͕ࣗͷ࡞ۀϒϥϯνͰίϝϯτฤ ू • developϒϥϯνʹϚʔδ͞ΕΔɻ • ࠶࡞ۀϒϥϯνΛΔͱଞͷ։ൃऀͷίϝ ϯτΛ֬ೝ͢Δ͜ͱ͕Ͱ͖Δɻ
σϞ
ػೳͷઆ໌ • ࠷৽ͷίϝϯτΛͲͷΑ͏ʹఆ͍ͯ͠Δͷ͔ • ίϯϑϦΫτͷఆͲͷΑ͏ʹ͍ͯ͠Δͷ͔
ػೳͷઆ໌ • ίϝϯτ͝ͱʹϋογϡɺҰͭલͷϋογϡ Λ࣋ͨͤΔ
࠷৽ͷίϝϯτͷఆํ๏ code: hoge previous: null code: fuga previous: hoge code:
foo previous: fuga code: bar previous: fuga
࠷৽ͷίϝϯτͷఆํ๏ code: hoge previous: null code: fuga previous: hoge code:
foo previous: fuga code: bar previous: fuga
ίϯϑϦΫτΛHTML্ʹө
ίϯϑϦΫτͷղফ code: hoge previous: null code: fuga previous: hoge code:
foo previous: fuga code: bar previous: fuga code: end previous: foo, bar
ػೳՃ༧ఆ
ػೳՃ༧ఆ • ݱঢ়ColumnίϝϯτͷΈରԠ͍ͯ͠ΔͷͰ TableίϝϯτରԠͰ͖ΔΑ͏ʹ͢Δ • IntroΛ͍ͬͯͳ͍ਓͰίϝϯτΛදࣔͰ ͖ΔΑ͏ʹ͢Δ • ERFluteͱͷ࿈ܞͯ͠ERMϑΝΠϧʹࣗಈө Ͱ͖ΔΑ͏ʹ͢Δ
Q&A
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠