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
240
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
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.8k
DoctrineとPostgreSQLの便利な機能、どっちも諦めたくない!
77web
0
52
すばやく実装するための戦略とテクニック2024 / speed is power! 2024 #techramen24conf #shoyu
77web
9
4.3k
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
470
100%出しきれないのを許すスクラムチーム運営
77web
1
270
マイクロサービスがほしいと思ったときに本当に必要だったもの〜なぜ人は共通基盤の夢を見るのか〜 / why microservice
77web
5
1.6k
モデルとはなにか / what is model?
77web
7
3k
たとえば、唐揚げを揚げながらPHPコードを書く技術 #phpstudy
77web
1
400
ベテランのバグ調査の秘訣、こっそり教えちゃいます。
77web
25
10k
Other Decks in Programming
See All in Programming
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
120
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
3
690
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
1.4k
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
600
Quine, Polyglot, 良いコード
qnighy
4
640
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
Jakarta EE meets AI
ivargrimstad
0
110
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
330
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Documentation Writing (for coders)
carmenintech
65
4.4k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Adopting Sorbet at Scale
ufuk
73
9.1k
Unsuck your backbone
ammeep
668
57k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
Building an army of robots
kneath
302
43k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
How to train your dragon (web standard)
notwaldorf
88
5.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