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
object-mapperを作ってる話
Search
polidog
June 18, 2020
Technology
430
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
object-mapperを作ってる話
polidog
June 18, 2020
More Decks by polidog
See All by polidog
omasushiというライブラリを作った
polidog
0
600
RelayerというPHPのフレームワークを作った
polidog
0
220
AIがコードを書く時代の ジェネレーティブプログラミング
polidog
3
1.4k
小さな開発会社を作った理由(再)
polidog
0
330
React Server ComponentsでAPI不要の開発体験
polidog
1
980
小さな開発会社が受託開発に力を入れる理由
polidog
0
590
小さな開発会社を作った理由
polidog
1
3.8k
小さな開発会社がWebサービスを作る理由
polidog
1
900
トランザクションスクリプトは何がダメなのか?
polidog
2
4.1k
Other Decks in Technology
See All in Technology
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
350
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
320
古い指輪から広がった JAVA コミュニティ とのつながり
yamad
0
130
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
290
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
Refining Active Record
shugo
0
170
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
690
Metadata - Section 1: HTML Basics
mohab1
0
130
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
170
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
210
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
320
Featured
See All Featured
The browser strikes back
jonoalderson
0
1.8k
Balancing Empowerment & Direction
lara
6
1.3k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
290
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.3k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
How to Ace a Technical Interview
jacobian
280
24k
WENDY [Excerpt]
tessaabrams
14
40k
Fireside Chat
paigeccino
43
4.1k
Why Our Code Smells
bkeepers
PRO
340
58k
Transcript
object-mapperΛ ࡞ͬͯΔ @polidog shizuoka.php online #0 2020/06/18
ࣗݾհ • @polidog • PartyHard Inc. • PHPϓϩάϥϚ
#ϙϦΊΔ
helicon/object-mapper https://github.com/helicon-php/object-mapper
object-mapperͱ • ྻ͔ΒΦϒδΣΫτʹม͢ΔͨΊͷπʔ ϧ • @varͷใΛͱʹϚοϐϯά͢Δ • PHP7.3·Ͱ͔͠ରԠͯ͠ͳ͍
None
2ͭͷϥΠϒϥϦ • object-type-parser • type-converter
object-type-parser • PHPͷΫϥεͷϓϩύςΟ͔ΒํͷใΛऔ ಘ͢Δ • ྻͱͯ͠ܕใΛදݱ͢Δ
None
type-converter • εΩʔϚʹͦͬͯͷܕΛมߋ͢Δ • ༷ʑͳܕʹରԠͰ͖ΔΑ͏ͳػߏ
None
ॲཧͷྲྀΕ ΫϥεϓϩύςΟͷ ܕใղੳ ͷܕม ΦϒδΣΫτͷ Ϛοϐϯά object-type-parser type-converter Laminas\Hydrator (ReflectionHydrator)
࣮ίʔυ͜Ε͚ͩ https://github.com/helicon-php/object-mapper/blob/master/src/ObjectMapper.php
࣮͢Δ্Ͱ৺͕͍ͯΔ͜ͱ • ͱʹ͔͘γϯϓϧʹͭ͘Δ • ϞδϡʔϧͷڥքΛҙࣝ͢Δ • ػೳ͝ͱʹύοέʔδԽ͠࠶ར༻ੑΛߴΊΔ
ࠓޙͷల • ύϑΥʔϚϯε໘ͷݟ͠ • PHP7.4ରԠ • ࠷ऴతʹORM࡞Γ͍ͨ
࠷ޙʹ
ͥͻͬͯΈ͍ͯͩ͘͞
͍ํ https://kojirooooocks.hatenablog.com/entry/ 2019/11/05/021319 @kojirock5260
ͦͯ͠ϑΟʔυόοΫ ͍ͩ͘͞ (GithubͰελʔ…)
͓͠·͍ɻ