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
140
Firebase Performance を利用したアプリの起動時間高速化
decoch
0
120
依存関係を静的解析しよう
decoch
2
370
CircleCIを使って 「完全サーバーレス運用」を 実現した話
decoch
2
450
GOで作るCLIツール
decoch
1
330
DBFlute-intro
decoch
0
55
Other Decks in Programming
See All in Programming
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
300
rails newと同時に型を書く
aki19035vc
5
710
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1.1k
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
390
ErdMap: Thinking about a map for Rails applications
makicamel
1
660
2025.01.17_Sansan × DMM.swift
riofujimon
2
570
令和7年版 あなたが使ってよいフロントエンド機能とは
mugi_uno
10
5.2k
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
1.9k
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
950
Alba: Why, How and What's So Interesting
okuramasafumi
0
210
Jaspr Dart Web Framework 박제창 @Devfest 2024
itsmedreamwalker
0
150
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
A designer walks into a library…
pauljervisheath
205
24k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
The Cost Of JavaScript in 2023
addyosmani
46
7.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Optimizing for Happiness
mojombo
376
70k
YesSQL, Process and Tooling at Scale
rocio
170
14k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
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
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠