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
Doctrine ORMでValue Objectを扱う方法4選 #phpstudy / 4 ...
Search
Hiromi Hishida
March 27, 2024
Programming
4
220
Doctrine ORMでValue Objectを扱う方法4選 #phpstudy / 4 ways to handle Value Objects with Doctrine ORM
PHP勉強会@東京 2024年3月LT
Hiromi Hishida
March 27, 2024
Tweet
Share
More Decks by Hiromi Hishida
See All by Hiromi Hishida
すばやく実装するための戦略とテクニック2024 / speed is power! 2024 #techramen24conf #shoyu
77web
8
4.1k
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
430
100%出しきれないのを許すスクラムチーム運営
77web
1
240
マイクロサービスがほしいと思ったときに本当に必要だったもの〜なぜ人は共通基盤の夢を見るのか〜 / why microservice
77web
5
1.5k
モデルとはなにか / what is model?
77web
6
2.8k
たとえば、唐揚げを揚げながらPHPコードを書く技術 #phpstudy
77web
1
380
ベテランのバグ調査の秘訣、こっそり教えちゃいます。
77web
25
10k
Symfony+Doctrine ORMで始める安全なモジュラモノリス
77web
3
4.3k
他人がはやく読めるコードを書く ために
77web
11
5k
Other Decks in Programming
See All in Programming
Sidekiqで実現する 長時間非同期処理の中断と再開 / Pausing and Resuming Long-Running Asynchronous Jobs with Sidekiq
hypermkt
6
2.7k
Importmapを使ったJavaScriptの 読み込みとブラウザアドオンの影響
swamp09
4
1.2k
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
1
290
現場で役立つモデリング 超入門
masuda220
PRO
12
2.9k
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
480
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
150
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
7
2.8k
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
420
CSC305 Lecture 13
javiergs
PRO
0
130
VR HMDとしてのVision Pro+ゲーム開発について
yasei_no_otoko
0
100
From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism- An Example
philipschwarz
PRO
0
170
Server Driven Compose With Firebase
skydoves
0
400
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
334
57k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
The Cult of Friendly URLs
andyhume
78
6k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Art, The Web, and Tiny UX
lynnandtonic
296
20k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
Making Projects Easy
brettharned
115
5.9k
Speed Design
sergeychernyshev
24
570
The Language of Interfaces
destraynor
154
24k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.9k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Transcript
UI.BSDI BU1)1ษڧձˏ౦ژ CZ!XFC %PDUSJOF03.Ͱ7BMVF 0CKFDUΛѻ͏ํ๏બબ
7BMVF0CKFDUͱʁ w ༁ΦϒδΣΫτ w 1PG&""ʹΑΔఆٛ w "TNBMMTJNQMFPCKFDU MJLFNPOFZPSBEBUFSBOHF XIPTFFRVBMJUZ JTO`UCBTFEPOJEFOUJUZ
w %%%ͷจ຺ͰΑ͘ΘΕΔ
7BMVF0CKFDUWT&OUJUZ w ݟ͔ͨͳΓࣅͯΔ w *%Ͱผ͠ͳ͍ w ͨͱ͑1SJDFͰΓΜ͝ͷԁ ͱΈ͔Μͷԁಉ͡ͷʹͳ Δ w
ͨͱ͑1FSJPEͰ։࢝࣌ͱऴ ͕ྃ࣌Ұகͨ͠Β"͞Μͷۈ ࣌ؒͱ#͞Μͷۈ࣌ؒͰಉ͡ ͷʹͳΔ
7BMVF0CKFDUWT&OVN w *%Ͱผ͠ͳ͍ͷಉ͡ w ϩδοΫΛ࣋ͭ w &OVNʹϩδοΫ࣋ͯΔ ͕ʜ w ෳͷΛ࣋ͪಘΔ
w &OVN͍͍ͨͯͭ
7BMVF0CKFDU w ศར✨
%PDUSJOF03.ͱ w %BUB.BQQFSܕͷ03. w օ͞ΜͷೃછΈͷ͋Δ&MPRVFOUJO-BSBWFM"DUJWF3FDPSEܕ w %#ςʔϒϧ্ͷϨίʔυ.PEFMͰͳ͘&OUJUZɺ&OUJUZ3FQPTJUPSZ &OUJUZ.BOBHFSΛ௨ͯ͡%#σʔλΛಡΈࠐΜͩΓॻ͖ࠐΜͩΓ͢Δ w &MPRVFOUͱͷҧ͍ʹ͍ͭͯৄ͘͠%PDUSJOF03.ͱ&MPRVFOUͷൺֱେશ
ΛͻͱΓͰΔ"EWFOU$BMFOEBSIUUQTRJJUBDPNBEWFOU DBMFOEBSQIQEPDUSJOFPSNWTFMPRVFOU
ํ๏γϦΞϥΠζ w 7BMVF0CKFDUΛॻ͖ࠐΈ࣌ʹTFSJBMJ[F ͨ͠จࣈྻΛΧϥϜʹอଘ͠ɺར༻࣌ VOTFSJBMJ[F ͰΦϒδΣΫτʹͨ͠ͷΛ͏ w QSPT w ૉͰཧղ͍͢͠ʢ%PDUSJOFͷػೳʹৄ͘͠ͳ͍ਓͰཧղ͍͢͠ʣ
w DPOT w 7BMVF0CKFDUࣗମͷ༷มߋʹऑ͍
ํ๏4NBSUHFUUFS w ΦϨΦϨ໋໊ͳͷͰͲ͔͜ͷԿ͔ͱ͔ͿͬͯͨΒ εϛϚηϯ w 7BMVF0CKFDUͷ௨ৗͷΧϥϜͱͯ͠όϥͯ͠ ࣋ͪɺHFUUFSͰ7BMVF0CKFDUΛ࡞Δ w QSPT w
ૉͰཧղ͍͢͠ʢ%PDUSJOFͷػೳʹৄ͘͠ ͳ͍ਓͰཧղ͍͢͠ʣ w DPOT w HFUUFSΛखಈͰॻ͘ඞཁ͕͋Δ
ํ๏&NCFEEBCMF w 7BMVF0CKFDUΛ&NCFEEBCMFʹ͢Δ ʢ%PDUSJOF03.ͷػೳΛ͏ʣ w QSPT w HFUUFSΛखಈͰॻ͔ͳͯ͘ྑ͍ w DPOT
w 7BMVF0CKFDUଆʹ%PDUSJOF03.͕ ࿙Εग़͍ͯΔ
ํ๏$VTUPN5ZQFT w 7BMVF0CKFDUΛ$VTUPN5ZQFʹ͢Δʢ%PDUSJOF03.ͷػೳΛ ͏ʣ w ղઆهࣄIUUQTUFDIRVBSUFUDPNDPKQ EPDUSJOFDVTUPNNBQQJOHUZQF w QSPT w
(FUUFSΛखಈͰॻ͔ͳͯ͘ྑ͍ w 7BMVF0CKFDUଆʹ%PDUSJOF03.͕࿙Εग़ͳ͍ w $VTUPN5ZQFΛ࠶ར༻Ͱ͖Δ w DPOT w ΧϥϜʹೖΔʹ͢Δͷ͕खؒʢ%#.4ଆʹͳ͍ΧϥϜλΠ ϓͷ߹ʣ
એ࠶ར༻Ͱ͖Δ$VTUPN5ZQFͷྫ w IUUQTHJUIVCDPNXFCEPDUSJOFQPTUHSFTRMUTU[SBOHF w Ϧϯέʔδ1PTUHSF42-ͷձࣾͳͷͰ1PTUHSF42-ͷUTU[SBOHFΛ͏લఏ ʢ.Z42-ଞͷ3%#.4ʹରԠͯ͠·ͤΜ🙇ʣ 5IBOLZPV