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
Ray.Di on Symfony
Search
Takashi Kanemoto
February 26, 2016
Programming
0
100
Ray.Di on Symfony
カルテット開発部社内勉強会 LT 資料
Takashi Kanemoto
February 26, 2016
Tweet
Share
More Decks by Takashi Kanemoto
See All by Takashi Kanemoto
いりゃあせ、PHPカンファレンス名古屋2025 / Welcome to PHP Conference Nagoya 2025
ttskch
1
280
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
460
今年書いた技術記事で伸びたやつの自慢と自分の中では力作なのにさっぱり伸びなかったやつの供養 / My Tech Articles 2024
ttskch
2
89
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
47
33k
データベース/SQL超入門!完全初心者向けに世界一分かりやすく解説します
ttskch
1
5k
Symfony UX Autocompleteとかいう 顧客が本当に必要だったもの
ttskch
0
1.9k
就活生あるいは新人エンジニアさんへのお節介なアドバイス
ttskch
0
1.5k
symfony/pantherでWordleを解いてみた
ttskch
0
290
ついに、Webアプリでの帳票印刷のベストプラクティスを編み出しました💡
ttskch
16
19k
Other Decks in Programming
See All in Programming
第3回 Snowflake 中部ユーザ会- dbt × Snowflake ハンズオン
hoto17296
4
370
Conform を推す - Advocating for Conform
mizoguchicoji
3
690
Open source software: how to live long and go far
gaelvaroquaux
0
630
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
450
さいきょうのレイヤードアーキテクチャについて考えてみた
yahiru
3
750
PHPカンファレンス名古屋2025 タスク分解の試行錯誤〜レビュー負荷を下げるために〜
soichi
1
190
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
110
TokyoR116_BeginnersSession1_環境構築
kotatyamtema
0
110
Flutter × Firebase Genkit で加速する生成 AI アプリ開発
coborinai
0
160
『GO』アプリ データ基盤のログ収集システムコスト削減
mot_techtalk
0
120
AWS Organizations で実現する、 マルチ AWS アカウントのルートユーザー管理からの脱却
atpons
0
150
sappoRo.R #12 初心者セッション
kosugitti
0
250
Featured
See All Featured
It's Worth the Effort
3n
184
28k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
960
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.4k
For a Future-Friendly Web
brad_frost
176
9.5k
Practical Orchestrator
shlominoach
186
10k
Agile that works and the tools we love
rasmusluckow
328
21k
How to Ace a Technical Interview
jacobian
276
23k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
Transcript
Ray.Di on Symfony #quartetcom 2016.02.26 @qckanemoto 1 / 23
2 / 23
3 / 23
2) Is it possible to use this instead of Symfony's
out-of-the-box DI wiring? 4 / 23
... 5 / 23
6 / 23
7 / 23
8 / 23
9 / 23
10 / 23
11 / 23
12 / 23
On the other hand, Ray.Di... 13 / 23
is not a class I n j e c t
o r f i n a l 14 / 23
OK, Maybe can make extended class which impl of Symfony
I n j e c t o r C o n t a i n e r I n t e r f a c e 15 / 23
But little too much work... 16 / 23
More easy (lazy) solution 17 / 23
18 / 23
19 / 23
Usage To learn more see https://github.com/ray-di/Ray.Di 20 / 23
Conclusion is core of Symfony Maybe can replace it with
other DI container But maybe not very easy let Symfony container and other container to co- exist by extending Symfony container is more easy way s y m f o n y / d e p e n d e n c y - i n j e c t i o n 21 / 23
Sample is here https://github.com/qckanemoto/symfony-raydi-sample 22 / 23
Thanks :) 23 / 23