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
110
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
400
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
890
今年書いた技術記事で伸びたやつの自慢と自分の中では力作なのにさっぱり伸びなかったやつの供養 / My Tech Articles 2024
ttskch
2
150
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
47
40k
データベース/SQL超入門!完全初心者向けに世界一分かりやすく解説します
ttskch
1
6.7k
Symfony UX Autocompleteとかいう 顧客が本当に必要だったもの
ttskch
0
2.1k
就活生あるいは新人エンジニアさんへのお節介なアドバイス
ttskch
0
1.6k
symfony/pantherでWordleを解いてみた
ttskch
0
360
ついに、Webアプリでの帳票印刷のベストプラクティスを編み出しました💡
ttskch
16
20k
Other Decks in Programming
See All in Programming
デミカツ切り抜きで面倒くさいことはPythonにやらせよう
aokswork3
0
260
iOSでSVG画像を扱う
kishikawakatsumi
0
170
Devvox Belgium - Agentic AI Patterns
kdubois
1
150
Claude Agent SDK を使ってみよう
hyshu
0
1.4k
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
130
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
190
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
2
810
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
3
740
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
34k
Pythonに漸進的に型をつける
nealle
1
130
3年ぶりにコードを書いた元CTOが Claude Codeと30分でMVPを作った話
maikokojima
0
650
Leading Effective Engineering Teams in the AI Era
addyosmani
7
640
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Docker and Python
trallard
46
3.6k
How GitHub (no longer) Works
holman
315
140k
For a Future-Friendly Web
brad_frost
180
10k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
640
The Language of Interfaces
destraynor
162
25k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
Scaling GitHub
holman
463
140k
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