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
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
47
27k
データベース/SQL超入門!完全初心者向けに世界一分かりやすく解説します
ttskch
1
4.2k
Symfony UX Autocompleteとかいう 顧客が本当に必要だったもの
ttskch
0
1.7k
就活生あるいは新人エンジニアさんへのお節介なアドバイス
ttskch
0
1.5k
symfony/pantherでWordleを解いてみた
ttskch
0
250
ついに、Webアプリでの帳票印刷のベストプラクティスを編み出しました💡
ttskch
16
19k
phpenvやめました🤦♂️
ttskch
0
1.2k
PHPでCSVのインポート/エクスポートに立ち向かう
ttskch
1
2.1k
phpenv on Mac 難しすぎワロタ
ttskch
0
540
Other Decks in Programming
See All in Programming
AWS CDKを用いたセキュアなCI/CDパイプラインの構築 / Build a secure CI/CD pipeline using AWS CDK
seike460
PRO
3
610
Micro Frontends for Java Microservices - dev2next 2024
mraible
PRO
0
210
(Deep|Web) Link support with expo-router
mrtry
0
170
Pythonによるイベントソーシングへの挑戦と現状に対する考察 / Challenging Event Sourcing with Python and Reflections on the Current State
nrslib
3
1.2k
Modern Functional Fluent CFML REST by Luis Majano
ortus24
0
140
Повторное использование кода в ML: почему ML-пайплайны могут помочь?
lamodatech
0
160
色んなオートローダーを覗き見る #phpcon_okinawa
o0h
PRO
5
390
Compose Multiplatform과 Ktor로 플랫폼의 경계를 넘어보자
kwakeuijin
0
270
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
0
180
RDBの世界をぬりかえていくモデルグラフDB〜truncus graphによるモデルファースト開発〜
jurabi
0
170
PHPを書く理由、PHPを書いていて良い理由 / Reasons to write PHP and why it is good to write PHP
seike460
PRO
5
460
GrafanaのHTTP API を眺めてみよう
rinchoku
0
110
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.7k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
130k
The Cost Of JavaScript in 2023
addyosmani
43
5.9k
RailsConf 2023
tenderlove
28
840
How STYLIGHT went responsive
nonsquared
95
5.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Embracing the Ebb and Flow
colly
84
4.4k
Teambox: Starting and Learning
jrom
132
8.7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
49k
A Philosophy of Restraint
colly
203
16k
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