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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
570
RelayerというPHPのフレームワークを作った
polidog
0
220
AIがコードを書く時代の ジェネレーティブプログラミング
polidog
3
1.4k
小さな開発会社を作った理由(再)
polidog
0
330
React Server ComponentsでAPI不要の開発体験
polidog
1
980
小さな開発会社が受託開発に力を入れる理由
polidog
0
580
小さな開発会社を作った理由
polidog
1
3.8k
小さな開発会社がWebサービスを作る理由
polidog
1
900
トランザクションスクリプトは何がダメなのか?
polidog
2
4.1k
Other Decks in Technology
See All in Technology
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
460
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
0
120
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
480
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
320
夫婦で子育てするための育児標準化
codmoninc
PRO
0
200
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
300
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
170
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
150
今さら理解するウェブフォントver.2026
takanorip
3
690
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
390
hackers_champloo_2026_tidb
makocchi
0
140
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
120
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Thoughts on Productivity
jonyablonski
76
5.4k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
GraphQLとの向き合い方2022年版
quramy
50
15k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
Making Projects Easy
brettharned
120
6.8k
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
How to Talk to Developers About Accessibility
jct
2
570
Test your architecture with Archunit
thirion
2
2.4k
Building Applications with DynamoDB
mza
96
7.2k
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Ͱελʔ…)
͓͠·͍ɻ