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
130
Firebase Performance を利用したアプリの起動時間高速化
decoch
0
110
依存関係を静的解析しよう
decoch
2
370
CircleCIを使って 「完全サーバーレス運用」を 実現した話
decoch
2
440
GOで作るCLIツール
decoch
1
330
DBFlute-intro
decoch
0
54
Other Decks in Programming
See All in Programming
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.7k
バグを見つけた?それAppleに直してもらおう!
uetyo
0
180
たのしいparse.y
ydah
3
120
nekko cloudにおけるProxmox VE利用事例
irumaru
3
440
ドメインイベント増えすぎ問題
h0r15h0
2
350
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
3
490
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.5k
Zoneless Testing
rainerhahnekamp
0
120
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
130
わたしの星のままで一番星になる ~ 出産を機にSIerからEC事業会社に転職した話 ~
kimura_m_29
0
180
Beyond ORM
77web
7
940
선언형 UI에서의 상태관리
l2hyunwoo
0
180
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Become a Pro
speakerdeck
PRO
26
5k
The Cult of Friendly URLs
andyhume
78
6.1k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Designing for Performance
lara
604
68k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
Documentation Writing (for coders)
carmenintech
66
4.5k
Code Review Best Practice
trishagee
65
17k
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
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠