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
470
今年書いた技術記事で伸びたやつの自慢と自分の中では力作なのにさっぱり伸びなかったやつの供養 / My Tech Articles 2024
ttskch
2
93
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
300
ついに、Webアプリでの帳票印刷のベストプラクティスを編み出しました💡
ttskch
16
19k
Other Decks in Programming
See All in Programming
Open source software: how to live long and go far
gaelvaroquaux
0
650
責務と認知負荷を整える! 抽象レベルを意識した関心の分離
yahiru
8
980
WebDriver BiDiとは何なのか
yotahada3
1
150
コミュニティ駆動 AWS CDK ライブラリ「Open Constructs Library」 / community-cdk-library
gotok365
2
160
pylint custom ruleで始めるレビュー自動化
shogoujiie
0
120
Immutable ActiveRecord
megane42
0
140
Pulsar2 を雰囲気で使ってみよう
anoken
0
240
『品質』という言葉が嫌いな理由
korimu
0
170
Honoをフロントエンドで使う 3つのやり方
yusukebe
7
3.4k
Writing documentation can be fun with plugin system
okuramasafumi
0
120
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
610
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
430
Featured
See All Featured
Producing Creativity
orderedlist
PRO
344
39k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Agile that works and the tools we love
rasmusluckow
328
21k
Faster Mobile Websites
deanohume
306
31k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.3k
Typedesign – Prime Four
hannesfritz
40
2.5k
BBQ
matthewcrist
87
9.5k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Optimising Largest Contentful Paint
csswizardry
34
3.1k
The Cult of Friendly URLs
andyhume
78
6.2k
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