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
MyFirstDBDefinition
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
maimu
October 09, 2022
Programming
650
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MyFirstDBDefinition
初めてDB定義に取り組んだ振り返りをまとめました!
maimu
October 09, 2022
Transcript
10 slides
初めての DB定義 kaigi_on_rails_2022_new @maimux2x
自己紹介 名前:まいむ - 2022年4月よりFjord Boot Campでプログラミング学習中 - 自社開発企業にて要件定義を担当 - 甘党です!
- スタバの新作が出るとついつい飲みに行ってしまいます - 元気がないときはロイヤルホストのパフェを食べると回復します
LTテーマ 初めてのDB定義
やったこと 受注登録システムにto_c向け商品登録機能を追加するためのDB定義 - 要件定義 - 画面項目の洗い出し - 既存機能の仕様調査 - 正規化
- DB項目の検討 - ER図作成 - DB定義書の作成
DB定義に取り組む上で役に立ったこと Fjord Boot Campで学習したこと全て! 特に - データベース設計の課題で関連やER図の書き方を学んだこと - Sinatraでメモアプリを開発し、DBへの保存・更新・削除の流れを理解したこと -
Ruby on Railsの課題でポリモーフィック関連の機能開発を行ったこと が実務でDB定義をする上での土台になった
難しかったこと① 機能追加するにあたって既存のDBの内容や関連を理解すること - 商品登録を実現するためだけでも想像以上のテーブルがあった - ポリモーフィック関連の理解が足りず、実際のコードを見たら関連が追えなくなった
難しかったこと② 適切なテーブル名と項目名を考えること - 名前重要の大切さを痛感 - 自分以外の人が見ても通じるかを考えることが大変だった
難しかったこと③ 正規化 - どこまで分割するかの判断 - 既存のテーブルにカラム追加するか中間テーブルを挟むか
初めてDB定義に取り組んだ感想 - 機会をくれたチームに感謝 - 自分がDB定義に取り組む機会は当面ないと思っていた - 難しかったけれど、レビューが通った瞬間の嬉しさが忘れられない経験になった - Fjord Boot
Campで学んだことが実務で活かせて成長を実感できた - DBの設計がその先の開発の方向を左右することを身をもって体感できた ・・・ and more !!
ご清聴ありがとうございました!
More Decks by maimu
See All by maimu
Gentoo 1年生 ビルドは終わらない
maimux2x
0
110
Rails 1.0 のコードで学ぶ find_by* と method_missing の仕組み / Learn how find_by_* and method_missing work in Rails 1.0 code
maimux2x
1
1.5k
rails_girls_is_my_gate_to_join_the_ruby_commuinty
maimux2x
0
740
ruby-flip-flop
maimux2x
0
170
before_rails_girls_after_rails_girls
maimux2x
0
910
my_study_of_ruby_method
maimux2x
1
220
one_liner_fizzbuzz
maimux2x
0
190
about_rails_girls_document_translation
maimux2x
0
6.4k
best_for_fbc
maimux2x
0
94
Other Decks in Programming
See All in Programming
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
280
オーケストレーション記述言語 Katari
yukikurage
0
260
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
760
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
110
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
180
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
360
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
330
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
170
protojson における文字化けの扱い
kazuki1023
0
430
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.3k
Spec-driven Development with AI
simas
PRO
0
2.3k
Getting Started with Vibe Coding
miccheng
0
230
Featured
See All Featured
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
2k
We Have a Design System, Now What?
morganepeng
55
8.4k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Ethics towards AI in product and experience design
skipperchong
2
460
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
The Pragmatic Product Professional
lauravandoore
37
7.5k
4 Signs Your Business is Dying
shpigford
187
23k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k