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
440
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
object-mapperを作ってる話
polidog
June 18, 2020
Transcript
20 slides
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Ͱελʔ…)
͓͠·͍ɻ
More Decks by polidog
See All by polidog
omasushiというライブラリを作った
polidog
0
660
RelayerというPHPのフレームワークを作った
polidog
0
230
AIがコードを書く時代の ジェネレーティブプログラミング
polidog
3
1.5k
小さな開発会社を作った理由(再)
polidog
0
350
React Server ComponentsでAPI不要の開発体験
polidog
1
1k
小さな開発会社が受託開発に力を入れる理由
polidog
0
610
小さな開発会社を作った理由
polidog
1
3.8k
小さな開発会社がWebサービスを作る理由
polidog
1
920
トランザクションスクリプトは何がダメなのか?
polidog
2
4.2k
Other Decks in Technology
See All in Technology
DevOps Agentにあらゆるセキュリティインシデントのトリアージを任せた件
jirtosterone
1
190
Linuxネットワークスタック進化の軌跡: 過去10年の歩みと最新トレンド
orimanabu
4
750
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
410
設計手法を「道具」として使いこなすために
a_suenami
5
1k
Datadog の権限統制 〜Org 統合に向けて調べた注意点 / JDDUG-Meetup_24
visional_engineering_and_design
1
190
小さなエージェントから始めてみよう!実践コンテキストエンジニアリング
iwamot
PRO
0
130
コピーオンライト型ファイルシステムと ランダム書き込み
sat
PRO
2
130
人間+AIを「チーム」としてプロセスを再設計する
littlehands
4
3.5k
マネジメントされる側の仕事は「文句」を言うこと
riyaamemiya
7
5.8k
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
390
AI対話型分析を作成し、リリースするまでの話 / The Road to Release: Buiding AI Conversational Analytics
yappli_developers
0
170
【Oracle AI SPOTLIGHT ウェビナー】【特別開催:日本語で解説!】Oracle AI World 2026 最新情報フィードバック
oracle4engineer
PRO
1
280
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
380
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k
Music & Morning Musume
bryan
48
7.5k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
680
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
330
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
670