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
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
2
530
WasmをRustにする技術
sansantech
PRO
1
120
アラートを見直していたら営業組織への理解にちょっとだけ繋がった話
z63d
1
210
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
2
1.4k
【AWS reInvent 2026 関西組 事前勉強会】二度あることは三度ある~調子に乗りそうな3回目の私を戒めたいです~
ttelltte
0
110
エンタープライズ事業未経験のデータ屋、 AI時代にN回撃沈する.pdf
ryoskdara_
0
150
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
0
150
AWS Client VPNの設定でハマったポイントとその過程での気づき
amarelo_n24
1
400
パスワードのない鍵で、 データを手元に置く
ginjihayashi
0
360
「個社」ではなく「業界」の課題を解く AI 対話開発 ー 価値を広げる設計と、価値を守るエンジニアリング ー
ivry_presentationmaterials
3
700
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
150
高品質と高スピードを支える品質のシフトレフトのアプローチ
goyoki
4
1.7k
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
530
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
950
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
First, design no harm
axbom
PRO
2
1.4k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
530
New Earth Scene 8
popppiees
5
2.9k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.2k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k