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
90
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
SpringBoot3.4の構造化ログ #kanjava
irof
2
1k
仕様変更に耐えるための"今の"DRY原則を考える / Rethinking the "Don't repeat yourself" for resilience to specification changes
mkmk884
2
360
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
170
メンテが命: PHPフレームワークのコンテナ化とアップグレード戦略
shunta27
0
120
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
47
17k
2024年のkintone API振り返りと2025年 / kintone API look back in 2024
tasshi
0
220
Open source software: how to live long and go far
gaelvaroquaux
0
640
Linux && Docker 研修/Linux && Docker training
forrep
24
4.5k
Immutable ActiveRecord
megane42
0
140
Pythonでもちょっとリッチな見た目のアプリを設計してみる
ueponx
1
570
Bedrock Agentsレスポンス解析によるAgentのOps
licux
3
840
チームリードになって変わったこと
isaka1022
0
200
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Designing for humans not robots
tammielis
250
25k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Become a Pro
speakerdeck
PRO
26
5.1k
Scaling GitHub
holman
459
140k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Building Your Own Lightsaber
phodgson
104
6.2k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
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